Commit 48ac89b6 authored by Steven Edwards's avatar Steven Edwards Committed by Alexandre Julliard

Add check for <sys/ioctl.h>.

parent 7632452e
...@@ -28,7 +28,9 @@ ...@@ -28,7 +28,9 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <fcntl.h> #include <fcntl.h>
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h> #include <sys/ioctl.h>
#endif
#include "mmsystem.h" #include "mmsystem.h"
#include "winbase.h" #include "winbase.h"
......
...@@ -44,7 +44,9 @@ ...@@ -44,7 +44,9 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <fcntl.h> #include <fcntl.h>
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h> #include <sys/ioctl.h>
#endif
#ifdef HAVE_LINUX_JOYSTICK_H #ifdef HAVE_LINUX_JOYSTICK_H
#include <linux/joystick.h> #include <linux/joystick.h>
#define JOYDEV "/dev/js%d" #define JOYDEV "/dev/js%d"
......
...@@ -32,7 +32,9 @@ ...@@ -32,7 +32,9 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h> #include <sys/ioctl.h>
#endif
#include <time.h> #include <time.h>
#include <unistd.h> #include <unistd.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment