Include <sys/ioctl.h> before redefining ioctl().
This commit is contained in:
@@ -230,6 +230,7 @@ typedef unsigned char bool;
|
|||||||
#else /* WIN32 */
|
#else /* WIN32 */
|
||||||
|
|
||||||
#ifdef DJGPP
|
#ifdef DJGPP
|
||||||
|
#include <sys/ioctl.h>
|
||||||
#define sclose(x) close_s(x)
|
#define sclose(x) close_s(x)
|
||||||
#define sread(x,y,z) read_s(x,y,z)
|
#define sread(x,y,z) read_s(x,y,z)
|
||||||
#define swrite(x,y,z) write_s(x,y,z)
|
#define swrite(x,y,z) write_s(x,y,z)
|
||||||
|
|||||||
Reference in New Issue
Block a user