Source-Changes-HG archive

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

[src/trunk]: src/tools/compat use sys/poll.h and HAVE_SYS_POLL_H instead of j...



details:   https://anonhg.NetBSD.org/src/rev/51315a41e40b
branches:  trunk
changeset: 555255:51315a41e40b
user:      dbj <dbj%NetBSD.org@localhost>
date:      Wed Nov 12 19:43:58 2003 +0000

description:
use sys/poll.h and HAVE_SYS_POLL_H instead of just HAVE_POLL_H
HAVE_SYS_POLL_H is used by src/include/roken.h needed by the host tool asn1_compile

diffstat:

 tools/compat/configure.ac       |  4 ++--
 tools/compat/nbtool_config.h.in |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r d1f6e9a83a53 -r 51315a41e40b tools/compat/configure.ac
--- a/tools/compat/configure.ac Wed Nov 12 19:42:27 2003 +0000
+++ b/tools/compat/configure.ac Wed Nov 12 19:43:58 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: configure.ac,v 1.41 2003/10/27 00:12:43 lukem Exp $
+#      $NetBSD: configure.ac,v 1.42 2003/11/12 19:43:58 dbj Exp $
 #
 # Autoconf definition file for libnbcompat.
 #
@@ -37,7 +37,7 @@
 # Find headers that may not be available.
 AC_HEADER_DIRENT
 AC_CHECK_HEADERS(sys/sysmacros.h sys/syslimits.h \
-       features.h malloc.h poll.h stddef.h)
+       features.h malloc.h sys/poll.h stddef.h)
 AC_CHECK_HEADERS(machine/bswap.h sys/cdefs.h sys/endian.h sys/featuretest.h \
        err.h inttypes.h libgen.h paths.h stdint.h util.h,,
        [test -f include/$ac_header || touch include/$ac_header])
diff -r d1f6e9a83a53 -r 51315a41e40b tools/compat/nbtool_config.h.in
--- a/tools/compat/nbtool_config.h.in   Wed Nov 12 19:42:27 2003 +0000
+++ b/tools/compat/nbtool_config.h.in   Wed Nov 12 19:43:58 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nbtool_config.h.in,v 1.1 2003/10/27 01:42:50 lukem Exp $       */
+/*     $NetBSD: nbtool_config.h.in,v 1.2 2003/11/12 19:43:58 dbj Exp $ */
 
 #ifndef        __NETBSD_NBTOOL_CONFIG_H__
 #define        __NETBSD_NBTOOL_CONFIG_H__
@@ -17,7 +17,7 @@
 #undef HAVE_NETDB_H
 #undef HAVE_MACHINE_BSWAP_H
 #undef HAVE_MALLOC_H
-#undef HAVE_POLL_H
+#undef HAVE_SYS_POLL_H
 #undef HAVE_STDDEF_H
 #undef HAVE_STRING_H
 #undef HAVE_SYS_DIR_H



Home | Main Index | Thread Index | Old Index