Try and fix the AIX build.
authorJeremy Allison <jra@samba.org>
Wed, 9 Jan 2008 22:35:15 +0000 (14:35 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 9 Jan 2008 22:35:15 +0000 (14:35 -0800)
Jeremy.

source/libaddns/dns.h

index a83c0b4f8eae1ef60a0d78c86846f2c218a1477a..188d139808451f55b3cda8cea01f034159437b22 100644 (file)
 #ifndef _DNS_H
 #define _DNS_H
 
-#include "config.h"
+#include "lib/replace/replace.h"
+
+/* make sure we have included the correct config.h */
+#ifndef NO_CONFIG_H /* for some tests */
+#ifndef CONFIG_H_IS_FROM_SAMBA
+#error "make sure you have removed all config.h files from standalone builds!"
+#error "the included config.h isn't from samba!"
+#endif
+#endif /* NO_CONFIG_H */
 
 #include <stdio.h>
 #include <stdlib.h>