From dfc02b315d83a9eae87d985ce5fcafd61ccbe369 Mon Sep 17 00:00:00 2001 From: ru Date: Sun, 13 Oct 2002 08:36:16 +0000 Subject: Support FreeBSD versions starting from 4.0-RELEASE. Reminded by: imp --- gnu/usr.bin/groff/src/include/config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gnu') 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 + /* 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 header file. */ +#if __FreeBSD_version >= 500028 #define HAVE_STDINT_H 1 +#else +/* #undef HAVE_STDINT_H */ +#endif /* Define if you have the header file. */ #define HAVE_STDLIB_H 1 @@ -150,4 +156,8 @@ /* Define uintmax_t to `unsigned long' or `unsigned long long' if does not exist. */ +#if __FreeBSD_version >= 500028 /* #undef uintmax_t */ +#else +#define uintmax_t unsigned long long +#endif -- cgit v1.1