Merge branch 'rj/cygwin-clarify-use-of-cheating-lstat'
[gitweb.git] / git-compat-util.h
index cc4ba4d18f15f72a7e7d2d12e2fa7b51f6a2a3e1..115cb1da42cc314f75a5b032d90798e5a2ce68c5 100644 (file)
 #include <poll.h>
 #endif
 
-extern int get_st_mode_bits(const char *path, int *mode);
-
 #if defined(__MINGW32__)
 /* pull in Windows compatibility stuff */
 #include "compat/mingw.h"
@@ -171,7 +169,6 @@ typedef unsigned long uintptr_t;
 #undef _XOPEN_SOURCE
 #include <grp.h>
 #define _XOPEN_SOURCE 600
-#include "compat/cygwin.h"
 #else
 #undef _ALL_SOURCE /* AIX 5.3L defines a struct list with _ALL_SOURCE. */
 #include <grp.h>