Winmm HAVE_SYS_IOCTL_H for joystick.c and joystick/joystick.c
Steven Edwards
Steven_Ed4153 at yahoo.com
Sat May 18 16:57:30 CDT 2002
Changelog: Add check for <sys/ioctl.h> to joystick.c and
joystick/joystick.c
cvs diff -u joystick.c
Index: joystick.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/joystick.c,v
retrieving revision 1.16
diff -u -r1.16 joystick.c
--- joystick.c 9 Mar 2002 23:44:33 -0000 1.16
+++ joystick.c 18 May 2002 21:55:49 -0000
@@ -28,7 +28,9 @@
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
+#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
+#endif
#include "mmsystem.h"
#include "winbase.h"
cvs diff -u joystick.c
Index: joystick.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/joystick/joystick.c,v
retrieving revision 1.10
diff -u -r1.10 joystick.c
--- joystick.c 9 Mar 2002 23:44:33 -0000 1.10
+++ joystick.c 18 May 2002 21:56:16 -0000
@@ -44,7 +44,9 @@
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
+#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
+#endif
#ifdef HAVE_LINUX_JOYSTICK_H
#include <linux/joystick.h>
#define JOYDEV "/dev/js%d"
More information about the wine-patches
mailing list