diff options
author | heinz <heinz@pkgsrc.org> | 2004-04-18 06:02:19 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2004-04-18 06:02:19 +0000 |
commit | afc767e6bc669186c0a9945e0a47a590c1c8f68e (patch) | |
tree | 8b3018efd483ec39a5f125891e2212405deaad29 /pkgtools | |
parent | 09c3c34a8d275494339956b5cb74739fc3294f7a (diff) | |
download | pkgsrc-afc767e6bc669186c0a9945e0a47a590c1c8f68e.tar.gz |
Include limits.h if available to shut down warnings about UINT_MAX on
Unixware.
Also tested on Linux, Solaris and NetBSD.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/libnbcompat/files/configure.ac | 6 | ||||
-rw-r--r-- | pkgtools/libnbcompat/files/nbcompat/config.h.in | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/pkgtools/libnbcompat/files/configure.ac b/pkgtools/libnbcompat/files/configure.ac index 23af2e280df..651243f07c4 100644 --- a/pkgtools/libnbcompat/files/configure.ac +++ b/pkgtools/libnbcompat/files/configure.ac @@ -1,4 +1,4 @@ -dnl $NetBSD: configure.ac,v 1.39 2004/04/16 23:59:32 heinz Exp $ +dnl $NetBSD: configure.ac,v 1.40 2004/04/18 06:02:19 heinz Exp $ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.52) @@ -382,6 +382,10 @@ AH_BOTTOM([ #include <sys/byteorder.h> #endif +#if HAVE_LIMITS_H +#include <limits.h> +#endif + #ifndef LITTLE_ENDIAN # define LITTLE_ENDIAN 1234 #endif diff --git a/pkgtools/libnbcompat/files/nbcompat/config.h.in b/pkgtools/libnbcompat/files/nbcompat/config.h.in index a37a1ee6336..34599482be9 100644 --- a/pkgtools/libnbcompat/files/nbcompat/config.h.in +++ b/pkgtools/libnbcompat/files/nbcompat/config.h.in @@ -532,6 +532,10 @@ #include <sys/byteorder.h> #endif +#if HAVE_LIMITS_H +#include <limits.h> +#endif + #ifndef LITTLE_ENDIAN # define LITTLE_ENDIAN 1234 #endif |