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

oldstable
Gerald Pfeifer 2005-08-22 09:33:37 +00:00 committed by Alexandre Julliard
parent 8f3cc76ea2
commit ebe0484d1a
4 changed files with 9 additions and 1 deletions

2
configure vendored
View File

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

View File

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

View File

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

View File

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