Add check for <sys/ioctl.h>.

This commit is contained in:
Steven Edwards 2002-05-19 22:25:02 +00:00 committed by Alexandre Julliard
parent 7632452e96
commit 48ac89b627
3 changed files with 6 additions and 0 deletions

View File

@ -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"

View File

@ -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"

View File

@ -32,7 +32,9 @@
#include <string.h>
#include <stdlib.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
#include <time.h>
#include <unistd.h>