Include <sys/ioctl.h> before redefining ioctl().
authorGisle Vanem <gvanem@broadpark.no>
Mon, 2 Jan 2006 18:35:58 +0000 (18:35 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Mon, 2 Jan 2006 18:35:58 +0000 (18:35 +0000)
lib/setup.h

index 4b2bb6c7c073f48bb9e3ec18fdbc5d7e331cae18..d5614199e7893f078c7079feefe057e36abe81ec 100644 (file)
@@ -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)