From 505e176ded6376a1283093b334c2c6deb47916e7 Mon Sep 17 00:00:00 2001 From: Wichert Akkerman Date: Mon, 1 Nov 1999 19:39:08 +0000 Subject: [PATCH] test for linux/in6.h in configure --- configure.in | 2 +- net.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 94866687..e68f4365 100644 --- a/configure.in +++ b/configure.in @@ -126,7 +126,7 @@ AC_HEADER_MAJOR AC_SIG_ATOMIC_T AC_CHECK_LIB(nsl, main) AC_CHECK_FUNCS(sigaction strerror strsignal pread sys_siglist _sys_siglist getdents mctl putpmsg prctl sendmsg inet_ntop) -AC_CHECK_HEADERS(sys/reg.h sys/filio.h sys/acl.h sys/asynch.h sys/door.h sys/stream.h sys/tiuser.h sys/sysconfig.h asm/sigcontext.h ioctls.h sys/ioctl.h sys/ptrace.h termio.h linux/ptrace.h asm/reg.h) +AC_CHECK_HEADERS(sys/reg.h sys/filio.h sys/acl.h sys/asynch.h sys/door.h sys/stream.h sys/tiuser.h sys/sysconfig.h asm/sigcontext.h ioctls.h sys/ioctl.h sys/ptrace.h termio.h linux/ptrace.h asm/reg.h linux/in6.h) AC_DECL_SYS_ERRLIST AC_DECL_SYS_SIGLIST AC_DECL__SYS_SIGLIST diff --git a/net.c b/net.c index 2026b646..8cbfece1 100644 --- a/net.c +++ b/net.c @@ -45,6 +45,11 @@ #endif #endif /* LINUX */ + +#if defined( HAVE_LINUX_IN6_H) +#include +#endif + #ifndef PF_UNSPEC #define PF_UNSPEC AF_UNSPEC #endif -- 2.50.1