Marcus Meissner : configure: Include <sys/types.h> before including
<linux/ joystick.h>.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Apr 12 10:00:09 CDT 2007
Module: wine
Branch: master
Commit: 7c434992d65f2dea6a4227fbd61926537423ace2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7c434992d65f2dea6a4227fbd61926537423ace2
Author: Marcus Meissner <meissner at suse.de>
Date: Thu Apr 12 12:12:05 2007 +0200
configure: Include <sys/types.h> before including <linux/joystick.h>.
---
configure | 1 +
configure.ac | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index e240093..df5dbe3 100755
--- a/configure
+++ b/configure
@@ -17450,6 +17450,7 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <sys/ioctl.h>
+ #include <sys/types.h>
#include <linux/joystick.h>
struct js_event blub;
diff --git a/configure.ac b/configure.ac
index 6d9e2cf..c9766dc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1302,6 +1302,7 @@ then
wine_cv_linux_joystick_22_api,
AC_TRY_COMPILE([
#include <sys/ioctl.h>
+ #include <sys/types.h>
#include <linux/joystick.h>
struct js_event blub;
More information about the wine-cvs
mailing list