summaryrefslogtreecommitdiff
path: root/EdkUnixPkg/Sec/UnixThunk.c
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-04 07:31:59 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-04 07:31:59 +0000
commit061f40e796030d1301b7ad1d1efed226a668a71d (patch)
tree3a3fb8bb0fd2685ccb35b20329383db911846856 /EdkUnixPkg/Sec/UnixThunk.c
parent418a943d66e09941464ca8fb22f10897a91505a4 (diff)
downloadedk2-061f40e796030d1301b7ad1d1efed226a668a71d.zip
edk2-061f40e796030d1301b7ad1d1efed226a668a71d.tar.gz
edk2-061f40e796030d1301b7ad1d1efed226a668a71d.tar.bz2
Fix the definition differences issue of termios.h in different version of kernel header and cygwin's include files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2622 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkUnixPkg/Sec/UnixThunk.c')
-rw-r--r--EdkUnixPkg/Sec/UnixThunk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/EdkUnixPkg/Sec/UnixThunk.c b/EdkUnixPkg/Sec/UnixThunk.c
index fcf290d..cce14e5 100644
--- a/EdkUnixPkg/Sec/UnixThunk.c
+++ b/EdkUnixPkg/Sec/UnixThunk.c
@@ -40,6 +40,8 @@ Abstract:
#include <stdlib.h>
#include <termio.h>
+extern ioctl (int fd, unsigned long int __request, ...);
+
static int settimer_initialized;
static struct timeval settimer_timeval;
static void (*settimer_callback)(UINT64 delta);