diff options
| author | pooka <pooka@NetBSD.org> | 2002-08-02 20:32:55 +0000 |
|---|---|---|
| committer | pooka <pooka@NetBSD.org> | 2002-08-02 20:32:55 +0000 |
| commit | cc3d906ee99eb364b50430dbd8f8fa904280f736 (patch) | |
| tree | f0eef4feebecda2e4473e694368eb8a0bdb8c5be /usr.bin/file | |
| parent | 624b6320303bc5525c4cd8104eef9052e078ecbb (diff) | |
work around cross-compile problems on 1.5.x, don't try to include
<stdint.h> on that platform
Diffstat (limited to 'usr.bin/file')
| -rw-r--r-- | usr.bin/file/config.h | 3 |
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 |
