Commit d1993fb3 authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

Fix compile error with include files from Linux 2.6.7+.

parent dba94616
......@@ -16210,6 +16210,7 @@ done
for ac_header in \
arpa/inet.h \
arpa/nameser.h \
......@@ -16228,6 +16229,7 @@ for ac_header in \
libutil.h \
link.h \
linux/cdrom.h \
linux/compiler.h \
linux/hdreg.h \
linux/input.h \
linux/ioctl.h \
......
......@@ -1114,6 +1114,7 @@ AC_CHECK_HEADERS(\
libutil.h \
link.h \
linux/cdrom.h \
linux/compiler.h \
linux/hdreg.h \
linux/input.h \
linux/ioctl.h \
......
......@@ -31,6 +31,9 @@
#endif
#include <fcntl.h>
#ifdef linux
#ifdef HAVE_LINUX_COMPILER_H
#include <linux/compiler.h>
#endif
# include <linux/fd.h>
#endif
......
......@@ -311,6 +311,9 @@
/* Define to 1 if you have the <linux/cdrom.h> header file. */
#undef HAVE_LINUX_CDROM_H
/* Define to 1 if you have the <linux/compiler.h> header file. */
#undef HAVE_LINUX_COMPILER_H
/* Define if Linux-style gethostbyname_r and gethostbyaddr_r are available */
#undef HAVE_LINUX_GETHOSTBYNAME_R_6
......
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