From ebda41a44a3e36ef05409b4ba64d419b7abfe943 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sun, 19 Jun 2016 22:02:45 +0000 Subject: [PATCH] Cleanup netipx/ipx.h availability check * configure.ac (AC_CHECK_HEADERS): Add netipx/ipx.h. * net.c: Check for HAVE_NETIPX_IPX_H instead of __GLIBC__. --- configure.ac | 1 + net.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 56c9b30e..9eccde94 100644 --- a/configure.ac +++ b/configure.ac @@ -394,6 +394,7 @@ AC_CHECK_HEADERS(m4_normalize([ linux/utsname.h mqueue.h netinet/sctp.h + netipx/ipx.h scsi/sg.h stropts.h sys/conf.h diff --git a/net.c b/net.c index 124ac8dc..1a6c265f 100644 --- a/net.c +++ b/net.c @@ -46,7 +46,7 @@ #include #include #include -#if defined(__GLIBC__) +#ifdef HAVE_NETIPX_IPX_H # include #else # include -- 2.50.1