From: Dmitry V. Levin Date: Sun, 19 Jun 2016 22:02:45 +0000 (+0000) Subject: Cleanup netipx/ipx.h availability check X-Git-Tag: v4.13~125 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ebda41a44a3e36ef05409b4ba64d419b7abfe943;p=strace 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__. --- 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