Use <sys/ioctl.h>.
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 4 Jun 2007 09:36:33 +0000 (09:36 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 4 Jun 2007 09:36:33 +0000 (09:36 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2624 6f19259b-4bc3-4df7-8a09-765794883524

EdkUnixPkg/Sec/UnixThunk.c

index b2aeed0..8344980 100644 (file)
@@ -39,9 +39,7 @@ Abstract:
 #include <string.h>
 #include <stdlib.h>
 #include <termio.h>
-#ifdef __INSIDE_CYGWIN__
-extern ioctl (int fd, unsigned long int __request, ...);
-#endif
+#include <sys/ioctl.h>
 static int settimer_initialized;
 static struct timeval settimer_timeval;
 static void (*settimer_callback)(UINT64 delta);