]> asedeno.scripts.mit.edu Git - git.git/blobdiff - git-compat-util.h
Merge branch 'jn/cherry-pick-refresh-index'
[git.git] / git-compat-util.h
index d0a1e480b6445a6f5ba3680672c255ab44ca43f0..490f96974417b00cd98de046ab1d6853425c3335 100644 (file)
 #include <regex.h>
 #include <utime.h>
 #include <syslog.h>
+#ifndef NO_SYS_POLL_H
 #include <sys/poll.h>
+#else
+#include <poll.h>
+#endif
 #ifndef __MINGW32__
 #include <sys/wait.h>
 #include <sys/socket.h>
 #include <arpa/inet.h>
 #include <netdb.h>
 #include <pwd.h>
+#ifndef NO_INTTYPES_H
 #include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
 #if defined(__CYGWIN__)
 #undef _XOPEN_SOURCE
 #include <grp.h>