Fix compile error with include files from Linux 2.6.7+.
This commit is contained in:
parent
dba9461675
commit
d1993fb398
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue