From 4dcb9302470ee1a12e476ad5705d9368c05c3153 Mon Sep 17 00:00:00 2001
From: Gisle Vanem <gvanem@broadpark.no>
Date: Mon, 2 Jan 2006 18:35:58 +0000
Subject: Include <sys/ioctl.h> before redefining ioctl().

---
 lib/setup.h | 1 +
 1 file changed, 1 insertion(+)

(limited to 'lib')

diff --git a/lib/setup.h b/lib/setup.h
index 4b2bb6c7c..d5614199e 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -230,6 +230,7 @@ typedef unsigned char bool;
 #else /* WIN32 */
 
 #ifdef DJGPP
+#include <sys/ioctl.h>
 #define sclose(x)         close_s(x)
 #define sread(x,y,z)      read_s(x,y,z)
 #define swrite(x,y,z)     write_s(x,y,z)
-- 
cgit v1.2.3