summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/heimdal_build/wscript_configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/heimdal_build/wscript_configure b/source4/heimdal_build/wscript_configure
index b56b4f5f63..c53cd39d72 100644
--- a/source4/heimdal_build/wscript_configure
+++ b/source4/heimdal_build/wscript_configure
@@ -20,8 +20,12 @@ conf.CHECK_FUNCS('bswap32')
conf.DEFINE('HAVE_KRB_STRUCT_WINSIZE', 1)
conf.DEFINE('VOID_RETSIGTYPE', 1)
+
conf.CHECK_VARIABLE('h_errno')
+# strangely enough, we need it with another define too
+conf.CHECK_VARIABLE('h_errno', define='HAVE_DECL_H_ERRNO')
+
conf.CHECK_HEADERS('arpa/nameser.h dns.h')
conf.CHECK_FUNCS_IN('res_search res_nsearch res_ndestroy dns_search dn_expand', 'resolv')
conf.CHECK_VARIABLE('_res')