ieot: default to not writing IEOT section
[gitweb.git] / git-compat-util.h
index 3a08d9916fb49b5a1578c74a5ae2949d98a8e699..f16058182f76bcb9fe50e00a239993de0fb28b12 100644 (file)
 #include <regex.h>
 #include <utime.h>
 #include <syslog.h>
-#ifndef NO_SYS_POLL_H
+#if !defined(NO_POLL_H)
+#include <poll.h>
+#elif !defined(NO_SYS_POLL_H)
 #include <sys/poll.h>
 #else
+/* Pull the compat stuff */
 #include <poll.h>
 #endif
 #ifdef HAVE_BSD_SYSCTL