summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--EdkUnixPkg/Sec/UnixThunk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/EdkUnixPkg/Sec/UnixThunk.c b/EdkUnixPkg/Sec/UnixThunk.c
index b2aeed0096..834498082d 100644
--- a/EdkUnixPkg/Sec/UnixThunk.c
+++ b/EdkUnixPkg/Sec/UnixThunk.c
@@ -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);