From 73c1250e77f52dfe1b0bddb6eaf20532d1de58b2 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Mon, 12 Nov 2007 15:08:18 +0100 Subject: [PATCH] Declare getpagesize() - gcc provides it for us. It is in MinGW's libgcc.a, which appearently is always linked in. Signed-off-by: Johannes Sixt --- git-compat-util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/git-compat-util.h b/git-compat-util.h index d0c0884fc9..d85fdf5415 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -508,6 +508,7 @@ int mingw_rename(const char*, const char*); static inline int fsync(int fd) { return 0; } static inline int getppid(void) { return 1; } static inline void sync(void) {} +extern int getpagesize(void); /* defined in MinGW's libgcc.a */ extern void quote_argv(const char **dst, const char **src); extern const char *parse_interpreter(const char *cmd);