changeset 10640:07c6709d357e

Include <sys/ioctl.h>, for ioctl().
author Yoann Vandoorselaere <yoann@prelude-ids.org>
date Tue, 14 Oct 2008 03:43:12 +0200
parents 9a77113994f4
children 5605b905052e
files ChangeLog tests/test-poll.c tests/test-select.c
diffstat 3 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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,
--- a/tests/test-poll.c
+++ b/tests/test-poll.c
@@ -28,6 +28,7 @@
 #include <fcntl.h>
 #include <stdlib.h>
 #include <stdbool.h>
+#include <sys/ioctl.h>
 #include <errno.h>
 #include "sockets.h"
 
--- a/tests/test-select.c
+++ b/tests/test-select.c
@@ -27,6 +27,7 @@
 #include <fcntl.h>
 #include <stdlib.h>
 #include <stdbool.h>
+#include <sys/ioctl.h>
 #include <errno.h>
 #include "sockets.h"