Changes by: antona
Update of /cvsroot/linux-ntfs/ntfsprogs/libntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26588/libntfs
Modified Files:
device.c
Log Message:
Only include sys/ioctl.h in libntfs/device.c if ./configure detected
it to be present. (Christophe)
Index: device.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/device.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- device.c 1 Aug 2005 22:10:39 -0000 1.18
+++ device.c 19 Aug 2005 16:01:15 -0000 1.19
@@ -29,7 +29,9 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include <sys/ioctl.h>
+#ifdef HAVE_SYS_IOCTL_H
+# include <sys/ioctl.h>
+#endif
#ifdef HAVE_LINUX_FD_H
# include <linux/fd.h>
#endif
|