uuid_t is not defined without including sys/uuid.h, configure+waf checks added.
Signed-off-by: Jeremy Allison <jra@samba.org>
#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 )
--- /dev/null
+#!/usr/bin/env python
+
+import Options
+
+def configure(conf):
+ conf.CHECK_HEADERS('sys/uuid.h')
AC_CHECK_HEADERS(xfs/libxfs.h)
AC_CHECK_HEADERS(netgroup.h)
AC_CHECK_HEADERS(linux/falloc.h)
+AC_CHECK_HEADERS(sys/uuid.h)
AC_CHECK_HEADERS(rpcsvc/yp_prot.h,,,[[
#if HAVE_RPC_RPC_H
conf.RECURSE('pidl')
conf.RECURSE('selftest')
conf.RECURSE('source3')
+ conf.RECURSE('lib/addns')
conf.SAMBA_CHECK_UNDEFINED_SYMBOL_FLAGS()