diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-04-23 11:32:19 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2015-04-23 11:46:11 -0400 |
commit | 5ff19f405648a533877caaf7b53ca2f42c7e7dbb (patch) | |
tree | cdbbfa125bba7a779f08df9a155b02a9424357d3 /tirpc | |
parent | e8edd1665116039c61430cea1051dd0765c48e96 (diff) | |
download | ti-rpc-5ff19f405648a533877caaf7b53ca2f42c7e7dbb.tar.gz |
configure.ac: Check for features.hlibtirpc-0-2-6-rc3
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 <rep.dot.nop@gmail.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tirpc')
-rw-r--r-- | tirpc/netconfig.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <features.h> +#endif #define NETCONFIG "/etc/netconfig" #define NETPATH "NETPATH" |