summaryrefslogtreecommitdiff
path: root/lib/addns
diff options
context:
space:
mode:
Diffstat (limited to 'lib/addns')
-rw-r--r--lib/addns/dnsutils.c4
-rw-r--r--lib/addns/wscript6
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/addns/dnsutils.c b/lib/addns/dnsutils.c
index 43305a9873..5a63c61f14 100644
--- a/lib/addns/dnsutils.c
+++ b/lib/addns/dnsutils.c
@@ -25,6 +25,10 @@
#include "dns.h"
#include <ctype.h>
+#ifdef HAVE_SYS_UUID_H
+#include <sys/uuid.h>
+#endif
+
static DNS_ERROR LabelList( TALLOC_CTX *mem_ctx,
const char *name,
struct dns_domain_label **presult )
diff --git a/lib/addns/wscript b/lib/addns/wscript
new file mode 100644
index 0000000000..99e9358a3d
--- /dev/null
+++ b/lib/addns/wscript
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+import Options
+
+def configure(conf):
+ conf.CHECK_HEADERS('sys/uuid.h')