Patch - WINAPI check for sys/ioctl.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not that it will ever work under anything but UNIX.

Changelog: Check for and use sys/ioctl.h if present

cvs diff -u aspi.c 
Index: aspi.c
===================================================================
RCS file: /home/wine/wine/dlls/winaspi/aspi.c,v
retrieving revision 1.15
diff -u -r1.15 aspi.c
--- aspi.c	9 Mar 2002 23:44:32 -0000	1.15
+++ aspi.c	20 May 2002 20:47:08 -0000
@@ -36,9 +36,14 @@
 		(default)=number of host adapters
 		hHHcCCtTTdDD=linux device name
 */
+
+#include "config.h"
+
 #include <stdio.h>
 #include <sys/types.h>
+#ifdef HAVE_SYS_IOCTL_H 
 #include <sys/ioctl.h>
+#endif
 #include <fcntl.h>
 #include <dirent.h>
 #include <unistd.h>



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux