summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-10-13 08:36:16 +0000
committerru <ru@FreeBSD.org>2002-10-13 08:36:16 +0000
commitdfc02b315d83a9eae87d985ce5fcafd61ccbe369 (patch)
tree50a8e10725c33ea0f1c224a1bd682da5ce2b31cd /gnu
parent4e38a7aca149126f267e178522984f3b6c522f98 (diff)
downloadFreeBSD-src-dfc02b315d83a9eae87d985ce5fcafd61ccbe369.zip
FreeBSD-src-dfc02b315d83a9eae87d985ce5fcafd61ccbe369.tar.gz
Support FreeBSD versions starting from 4.0-RELEASE.
Reminded by: imp
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/groff/src/include/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/src/include/config.h b/gnu/usr.bin/groff/src/include/config.h
index 1d74fc8..1546f4f 100644
--- a/gnu/usr.bin/groff/src/include/config.h
+++ b/gnu/usr.bin/groff/src/include/config.h
@@ -1,5 +1,7 @@
/* $FreeBSD$ */
+#include <osreldate.h>
+
/* src/include/config.h. Generated by configure. */
/* src/include/config.hin. Generated automatically from configure.ac by autoheader. */
@@ -52,7 +54,11 @@
#define HAVE_ISATTY 1
/* Define if you have the <stdint.h> header file. */
+#if __FreeBSD_version >= 500028
#define HAVE_STDINT_H 1
+#else
+/* #undef HAVE_STDINT_H */
+#endif
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
@@ -150,4 +156,8 @@
/* Define uintmax_t to `unsigned long' or `unsigned long long' if <inttypes.h>
does not exist. */
+#if __FreeBSD_version >= 500028
/* #undef uintmax_t */
+#else
+#define uintmax_t unsigned long long
+#endif
OpenPOWER on IntegriCloud