summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpooka <pooka@NetBSD.org>2002-08-02 20:32:55 +0000
committerpooka <pooka@NetBSD.org>2002-08-02 20:32:55 +0000
commitcc3d906ee99eb364b50430dbd8f8fa904280f736 (patch)
treef0eef4feebecda2e4473e694368eb8a0bdb8c5be
parent624b6320303bc5525c4cd8104eef9052e078ecbb (diff)
work around cross-compile problems on 1.5.x, don't try to include
<stdint.h> on that platform
-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