diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-03-25 08:31:31 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2013-03-25 10:09:12 -0400 |
commit | 88d745b004cc0d57ce668829ca08c5d5dc3e6a9e (patch) | |
tree | 94cfa26a6eb86975362ec0e92632e4a022ebdce8 /support/include | |
parent | 7aae1f31d06f133cebf2cfecca39a086d5376e0b (diff) | |
download | nfs-utils-88d745b004cc0d57ce668829ca08c5d5dc3e6a9e.tar.gz nfs-utils-88d745b004cc0d57ce668829ca08c5d5dc3e6a9e.tar.xz nfs-utils-88d745b004cc0d57ce668829ca08c5d5dc3e6a9e.zip |
configure: check for libio.h availability
On some systems (like uClibc), there isn't a libio.h header. But it
isn't also needed on them. So check for the header first.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include')
-rw-r--r-- | support/include/sockaddr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/support/include/sockaddr.h b/support/include/sockaddr.h index 72766db..a1c30f9 100644 --- a/support/include/sockaddr.h +++ b/support/include/sockaddr.h @@ -20,7 +20,13 @@ #ifndef NFS_UTILS_SOCKADDR_H #define NFS_UTILS_SOCKADDR_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_LIBIO_H #include <libio.h> +#endif #include <stdbool.h> #include <sys/socket.h> #include <netinet/in.h> |