]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-compat-util.h
pre-POSIX.1-2001 systems do not have <sys/select.h>
[thirdparty/git.git] / git-compat-util.h
index b6ef5442b79bc8a071597c1b0ad5508a4ed55a33..4df90cb34e61deb56ecb49797e48e67bdc98ff3b 100644 (file)
@@ -68,7 +68,9 @@
 #include <sys/poll.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
+#ifndef NO_SYS_SELECT_H
 #include <sys/select.h>
+#endif
 #include <assert.h>
 #include <regex.h>
 #include <netinet/in.h>