From 5ff19f405648a533877caaf7b53ca2f42c7e7dbb Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 23 Apr 2015 11:32:19 -0400 Subject: configure.ac: Check for features.h Fixes http://sourceforge.net/p/libtirpc/bugs/34/ The netconfig header attempts to include features.h which is only available in glibc. This is necessary for backporting the package for FreeBSD. Signed-off-by: Bernhard Reutner-Fischer Signed-off-by: Steve Dickson --- tirpc/netconfig.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tirpc') diff --git a/tirpc/netconfig.h b/tirpc/netconfig.h index c25788c..3f1a685 100644 --- a/tirpc/netconfig.h +++ b/tirpc/netconfig.h @@ -1,7 +1,9 @@ #ifndef _NETCONFIG_H_ #define _NETCONFIG_H_ +#ifdef HAVE_FEATURES_H #include +#endif #define NETCONFIG "/etc/netconfig" #define NETPATH "NETPATH" -- cgit v1.2.1