chiark / gitweb /
Regression tests compile on systems without poll(2). Do not install
[adns.git] / regress / harness.h.m4
index de29194aa0bbc5b5c8704b2a156cd111e7e32158..a2e278847cff822e28c6efb61ca9ae27bef9b0fa 100644 (file)
@@ -27,10 +27,13 @@ m4_include(hmacros.i4)
 #include <sys/socket.h>
 #include <sys/uio.h>
 #include <unistd.h>
-#include <sys/poll.h>
 
 #include "internal.h"
 
+#ifdef HAVE_POLL
+#include <sys/poll.h>
+#endif
+
 /* We override several system calls with #define's */
 
 hm_create_proto_h