Commit 4dcb9302 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Include <sys/ioctl.h> before redefining ioctl().

parent 74a299fd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)