aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-01-02 18:35:58 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-01-02 18:35:58 +0000
commit4dcb9302470ee1a12e476ad5705d9368c05c3153 (patch)
treef5906ab533fc074c413fa1a577e4675dc8dd7423
parent74a299fd0844db03569381929b4d3e8851f1b578 (diff)
Include <sys/ioctl.h> before redefining ioctl().
-rw-r--r--lib/setup.h1
1 files changed, 1 insertions, 0 deletions
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)