Include <sys/ioctl.h>, for ioctl().
authorYoann Vandoorselaere <yoann@prelude-ids.org>
Tue, 14 Oct 2008 01:43:12 +0000 (03:43 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 14 Oct 2008 01:43:38 +0000 (03:43 +0200)
ChangeLog
tests/test-poll.c
tests/test-select.c

index de36adf..66ffaa5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-13  Yoann Vandoorselaere  <yoann@prelude-ids.org>
+
+       * tests/test-poll.c: Include <sys/ioctl.h>, for ioctl().
+       * tests/test-select.c: Likewise,
+
 2008-10-13  Bruno Haible  <bruno@clisp.org>
 
        * lib/glthread/cond.c (glthread_cond_wait_func,
index bbfefe4..77b06d9 100644 (file)
@@ -28,6 +28,7 @@
 #include <fcntl.h>
 #include <stdlib.h>
 #include <stdbool.h>
+#include <sys/ioctl.h>
 #include <errno.h>
 #include "sockets.h"
 
index 50f7559..4c9cdc0 100644 (file)
@@ -27,6 +27,7 @@
 #include <fcntl.h>
 #include <stdlib.h>
 #include <stdbool.h>
+#include <sys/ioctl.h>
 #include <errno.h>
 #include "sockets.h"