Fix compile error with include files from Linux 2.6.7+.

This commit is contained in:
Rein Klazes 2004-09-07 22:44:34 +00:00 committed by Alexandre Julliard
parent dba9461675
commit d1993fb398
4 changed files with 9 additions and 0 deletions

2
configure vendored
View File

@ -16208,6 +16208,7 @@ done
for ac_header in \
@ -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 \

View File

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

View File

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

View File

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