summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/replace/poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/poll.c b/lib/replace/poll.c
index 27876bb067..1105617b63 100644
--- a/lib/replace/poll.c
+++ b/lib/replace/poll.c
@@ -33,7 +33,7 @@
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
-#ifdef HAVE_SYS_IOCTL
+#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif