Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/usr.bin/file Pull up revision 1.11-1.12 (requested by t...



details:   https://anonhg.NetBSD.org/src/rev/29dcbcd476cb
branches:  netbsd-1-6
changeset: 529623:29dcbcd476cb
user:      he <he%NetBSD.org@localhost>
date:      Sun Dec 01 19:32:29 2002 +0000

description:
Pull up revision 1.11-1.12 (requested by thorpej in ticket #835):
  Allow cross-compile on 1.5.x, don't include <stdint.h>
  there.  Also HAVE_STDINT_H if defined(__linux__).

diffstat:

 usr.bin/file/config.h |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 5f09bd032730 -r 29dcbcd476cb usr.bin/file/config.h
--- a/usr.bin/file/config.h     Sun Dec 01 19:10:45 2002 +0000
+++ b/usr.bin/file/config.h     Sun Dec 01 19:32:29 2002 +0000
@@ -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) || defined(__linux__)
 #define HAVE_STDINT_H 1
+#endif
 
 /* Define if you have the <sys/mman.h> header file.  */
 #define HAVE_SYS_MMAN_H 1



Home | Main Index | Thread Index | Old Index