Commit ebe0484d authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

Prefer sys/limits.h over machine/limits.h.

parent 8f3cc76e
......@@ -7036,6 +7036,7 @@ done
for ac_header in \
IOKit/IOKitLib.h \
alsa/asoundlib.h \
......@@ -7106,6 +7107,7 @@ for ac_header in \
sys/filio.h \
sys/ioctl.h \
sys/ipc.h \
sys/limits.h \
sys/link.h \
sys/lwp.h \
sys/mman.h \
......
......@@ -241,6 +241,7 @@ AC_CHECK_HEADERS(\
sys/filio.h \
sys/ioctl.h \
sys/ipc.h \
sys/limits.h \
sys/link.h \
sys/lwp.h \
sys/mman.h \
......
......@@ -33,7 +33,9 @@
#ifdef HAVE_SYS_TIMES_H
# include <sys/times.h>
#endif
#ifdef HAVE_MACHINE_LIMITS_H
#ifdef HAVE_SYS_LIMITS_H
#include <sys/limits.h>
#elif defined(HAVE_MACHINE_LIMITS_H)
#include <machine/limits.h>
#endif
......
......@@ -644,6 +644,9 @@
/* Define to 1 if you have the <sys/ipc.h> header file. */
#undef HAVE_SYS_IPC_H
/* Define to 1 if you have the <sys/limits.h> header file. */
#undef HAVE_SYS_LIMITS_H
/* Define to 1 if you have the <sys/link.h> header file. */
#undef HAVE_SYS_LINK_H
......
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