aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)