summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/file/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/file/config.h b/usr.bin/file/config.h
index 6b52f712724..c61ed787c6b 100644
--- a/usr.bin/file/config.h
+++ b/usr.bin/file/config.h
@@ -90,7 +90,10 @@
#define HAVE_LOCALE_H 1
/* Define if you have the <stdint.h> header file. */
+#include <sys/param.h>
+#if __NetBSD_Version__ > 106000000
#define HAVE_STDINT_H 1
+#endif
/* Define if you have the <sys/mman.h> header file. */
#define HAVE_SYS_MMAN_H 1