From 64c077860e2dcd76f05ce421d15503db18c62912 Mon Sep 17 00:00:00 2001 From: Emmanuel Maillard Date: Wed, 18 May 2005 18:20:23 +0000 Subject: [PATCH] Added Darwin 8.0 specific headers. --- configure | 4 ++++ configure.ac | 2 ++ dlls/kernel/cpu.c | 3 +++ dlls/kernel/time.c | 3 +++ include/config.h.in | 6 ++++++ 5 files changed, 18 insertions(+) diff --git a/configure b/configure index ac49260a53d..237d6d24948 100755 --- a/configure +++ b/configure @@ -7096,6 +7096,8 @@ done + + @@ -7127,7 +7129,9 @@ for ac_header in \ linux/param.h \ linux/serial.h \ linux/ucdrom.h \ + mach/machine.h \ machine/cpu.h \ + machine/limits.h \ mntent.h \ netdb.h \ netinet/in.h \ diff --git a/configure.ac b/configure.ac index d60ebe1f3db..bb55fad83b8 100644 --- a/configure.ac +++ b/configure.ac @@ -188,7 +188,9 @@ AC_CHECK_HEADERS(\ linux/param.h \ linux/serial.h \ linux/ucdrom.h \ + mach/machine.h \ machine/cpu.h \ + machine/limits.h \ mntent.h \ netdb.h \ netinet/in.h \ diff --git a/dlls/kernel/cpu.c b/dlls/kernel/cpu.c index 227e10c283a..23ff05af3cf 100644 --- a/dlls/kernel/cpu.c +++ b/dlls/kernel/cpu.c @@ -31,6 +31,9 @@ #ifdef HAVE_MACHINE_CPU_H # include #endif +#ifdef HAVE_MACH_MACHINE_H +# include +#endif #include #include diff --git a/dlls/kernel/time.c b/dlls/kernel/time.c index 49f91994dcc..8988ca7284a 100644 --- a/dlls/kernel/time.c +++ b/dlls/kernel/time.c @@ -33,6 +33,9 @@ #ifdef HAVE_SYS_TIMES_H # include #endif +#ifdef HAVE_MACHINE_LIMITS_H +#include +#endif #define NONAMELESSUNION #define NONAMELESSSTRUCT diff --git a/include/config.h.in b/include/config.h.in index 80548cceda4..2f709e23ecd 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -353,9 +353,15 @@ /* Define to 1 if you have the header file. */ #undef HAVE_MACHINE_CPU_H +/* Define to 1 if you have the header file. */ +#undef HAVE_MACHINE_LIMITS_H + /* Define to 1 if you have the header file. */ #undef HAVE_MACHINE_SOUNDCARD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_MACH_MACHINE_H + /* Define to 1 if you have the `memmove' function. */ #undef HAVE_MEMMOVE