summaryrefslogtreecommitdiffstats
path: root/usr.bin/file
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-09-19 12:30:34 +0000
committerru <ru@FreeBSD.org>2002-09-19 12:30:34 +0000
commit1564160a1a36ac25621d820696fea9a4d347e8d5 (patch)
tree256a41e5f2666fa3ba2ce81320175776fba1eda2 /usr.bin/file
parentffbde8ea6c0bcc21a0cf0349e8489078a8122605 (diff)
downloadFreeBSD-src-1564160a1a36ac25621d820696fea9a4d347e8d5.zip
FreeBSD-src-1564160a1a36ac25621d820696fea9a4d347e8d5.tar.gz
Bootstrapping aid for systems without <stdint.h>.
(Needed to build mkmagic in build-tools.)
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/file/config.h b/usr.bin/file/config.h
index 6c5307a..2eae802 100644
--- a/usr.bin/file/config.h
+++ b/usr.bin/file/config.h
@@ -1,5 +1,7 @@
/* $FreeBSD$ */
+#include <osreldate.h>
+
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
@@ -92,7 +94,9 @@
#define HAVE_LOCALE_H 1
/* Define if you have the <stdint.h> header file. */
+#if __FreeBSD_version >= 500019
#define HAVE_STDINT_H 1
+#endif
/* Define if you have the <sys/mman.h> header file. */
#define HAVE_SYS_MMAN_H 1
OpenPOWER on IntegriCloud