diff --git a/configure b/configure index 87fce3848cc..160cd2cefab 100755 --- a/configure +++ b/configure @@ -7108,9 +7108,11 @@ done + for ac_header in \ + IOKit/IOKitLib.h \ arpa/inet.h \ arpa/nameser.h \ asm/types.h \ diff --git a/configure.ac b/configure.ac index 175eadd505d..93d0fbdff38 100644 --- a/configure.ac +++ b/configure.ac @@ -171,6 +171,7 @@ OPENGL_LIBS="" dnl **** Check for header files **** AC_CHECK_HEADERS(\ + IOKit/IOKitLib.h \ arpa/inet.h \ arpa/nameser.h \ asm/types.h \ diff --git a/dlls/ntdll/cdrom.c b/dlls/ntdll/cdrom.c index 67e794345e7..67f006b611c 100644 --- a/dlls/ntdll/cdrom.c +++ b/dlls/ntdll/cdrom.c @@ -75,6 +75,14 @@ # include #endif +#ifdef HAVE_IOKIT_IOKITLIB_H +# ifndef SENSEBUFLEN +# include +# include +# define SENSEBUFLEN kSenseDefaultSize +# endif +#endif + #define NONAMELESSUNION #define NONAMELESSSTRUCT #include "ntstatus.h" diff --git a/include/config.h.in b/include/config.h.in index 53fd7bb6f88..7b9ce7049a1 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -224,6 +224,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H +/* Define to 1 if you have the header file. */ +#undef HAVE_IOKIT_IOKITLIB_H + /* Define to 1 if you have the header file. */ #undef HAVE_IO_H