chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Regression tests compile on systems without poll(2). Do not install
[adns]
/
regress
/
harness.h.m4
diff --git
a/regress/harness.h.m4
b/regress/harness.h.m4
index de29194aa0bbc5b5c8704b2a156cd111e7e32158..a2e278847cff822e28c6efb61ca9ae27bef9b0fa 100644
(file)
--- a/
regress/harness.h.m4
+++ b/
regress/harness.h.m4
@@
-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