summaryrefslogtreecommitdiffstats
path: root/EdkUnixPkg
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-04 09:36:33 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-04 09:36:33 +0000
commitdabd48785bc21cd05327c49db1fcb8f7fb9c3867 (patch)
tree94ab642cff1c0c9e1ea1a1e6a148c5f6326c01a4 /EdkUnixPkg
parent5fe9d507e50f5116819e5a98ee1393193f09e797 (diff)
downloadedk2-dabd48785bc21cd05327c49db1fcb8f7fb9c3867.tar.gz
edk2-dabd48785bc21cd05327c49db1fcb8f7fb9c3867.tar.bz2
edk2-dabd48785bc21cd05327c49db1fcb8f7fb9c3867.zip
Use <sys/ioctl.h>.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2624 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkUnixPkg')
-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);