summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2014-07-15 14:57:46 +0100
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-07-16 09:23:46 +0100
commita37df0601ae42519303a4dbf7c511b91658aa054 (patch)
tree855b9629889aa9a46a887aaecaeb94780c6f8735 /configure.ac
parent79e1ec79ef7c7af44d081bbc6316697fccb25c96 (diff)
downloadlibnice-a37df0601ae42519303a4dbf7c511b91658aa054.tar.gz
agent: Use AC_CHECK_HEADERS to check for netdb.h
Rather than assuming it is not available on Windows.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b14ff22..3041dd8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,7 +85,7 @@ AH_VERBATIM([_FORTIFY_SOURCE],
# define _FORTIFY_SOURCE 2
#endif])
AC_DEFINE([NICEAPI_EXPORT], [ ], [Public library function implementation])
-AC_CHECK_HEADERS([arpa/inet.h net/in.h])
+AC_CHECK_HEADERS([arpa/inet.h net/in.h netdb.h])
AC_CHECK_HEADERS([ifaddrs.h], \
[AC_DEFINE(HAVE_GETIFADDRS, [1], \
[Whether getifaddrs() is available on the system])])