summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-04 07:39:17 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-04 07:39:17 +0000
commit5fe9d507e50f5116819e5a98ee1393193f09e797 (patch)
treeeaf6d91e7736273896cd0cc2b7f9264a7b8443b0
parent061f40e796030d1301b7ad1d1efed226a668a71d (diff)
downloadedk2-platforms-5fe9d507e50f5116819e5a98ee1393193f09e797.tar.xz
Fix the different defintion between linux and cygwin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2623 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EdkUnixPkg/Sec/UnixThunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkUnixPkg/Sec/UnixThunk.c b/EdkUnixPkg/Sec/UnixThunk.c
index cce14e50cd..b2aeed0096 100644
--- a/EdkUnixPkg/Sec/UnixThunk.c
+++ b/EdkUnixPkg/Sec/UnixThunk.c
@@ -39,9 +39,9 @@ Abstract:
#include <string.h>
#include <stdlib.h>
#include <termio.h>
-
+#ifdef __INSIDE_CYGWIN__
extern ioctl (int fd, unsigned long int __request, ...);
-
+#endif
static int settimer_initialized;
static struct timeval settimer_timeval;
static void (*settimer_callback)(UINT64 delta);