pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files Include limits.h if availab...
details: https://anonhg.NetBSD.org/pkgsrc/rev/26ccbbf3e7e2
branches: trunk
changeset: 473272:26ccbbf3e7e2
user: heinz <heinz%pkgsrc.org@localhost>
date: Sun Apr 18 06:02:19 2004 +0000
description:
Include limits.h if available to shut down warnings about UINT_MAX on
Unixware.
Also tested on Linux, Solaris and NetBSD.
diffstat:
pkgtools/libnbcompat/files/configure.ac | 6 +++++-
pkgtools/libnbcompat/files/nbcompat/config.h.in | 4 ++++
2 files changed, 9 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 3a25b1e6774c -r 26ccbbf3e7e2 pkgtools/libnbcompat/files/configure.ac
--- a/pkgtools/libnbcompat/files/configure.ac Sun Apr 18 05:57:15 2004 +0000
+++ b/pkgtools/libnbcompat/files/configure.ac Sun Apr 18 06:02:19 2004 +0000
@@ -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 @@
#include <sys/byteorder.h>
#endif
+#if HAVE_LIMITS_H
+#include <limits.h>
+#endif
+
#ifndef LITTLE_ENDIAN
# define LITTLE_ENDIAN 1234
#endif
diff -r 3a25b1e6774c -r 26ccbbf3e7e2 pkgtools/libnbcompat/files/nbcompat/config.h.in
--- a/pkgtools/libnbcompat/files/nbcompat/config.h.in Sun Apr 18 05:57:15 2004 +0000
+++ b/pkgtools/libnbcompat/files/nbcompat/config.h.in Sun Apr 18 06:02:19 2004 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index