Module: wine Branch: master Commit: 376be08a7cde6b8b335c8d3e86c3ef36039e690f URL: http://source.winehq.org/git/wine.git/?a=commit;h=376be08a7cde6b8b335c8d3e86...
Author: Rob Shearman rob@codeweavers.com Date: Wed Feb 27 19:02:45 2008 +0000
dinput: Include fcntl.h instead of sys/fcntl.h since they are equivalent and the former is more portable.
---
dlls/dinput/joystick_linux.c | 2 +- dlls/dinput/joystick_linuxinput.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dinput/joystick_linux.c b/dlls/dinput/joystick_linux.c index 4b0085c..f375978 100644 --- a/dlls/dinput/joystick_linux.c +++ b/dlls/dinput/joystick_linux.c @@ -38,7 +38,7 @@ #ifdef HAVE_SYS_TIME_H # include <sys/time.h> #endif -#include <sys/fcntl.h> +#include <fcntl.h> #ifdef HAVE_SYS_IOCTL_H # include <sys/ioctl.h> #endif diff --git a/dlls/dinput/joystick_linuxinput.c b/dlls/dinput/joystick_linuxinput.c index 18a7e54..c31fc28 100644 --- a/dlls/dinput/joystick_linuxinput.c +++ b/dlls/dinput/joystick_linuxinput.c @@ -34,7 +34,7 @@ #ifdef HAVE_SYS_TIME_H # include <sys/time.h> #endif -#include <sys/fcntl.h> +#include <fcntl.h> #ifdef HAVE_SYS_IOCTL_H # include <sys/ioctl.h> #endif