Prefer sys/limits.h over machine/limits.h.
This commit is contained in:
parent
8f3cc76ea2
commit
ebe0484d1a
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue