git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
318cbcf
)
Try and fix the AIX build.
author
Jeremy Allison
<jra@samba.org>
Wed, 9 Jan 2008 22:35:15 +0000
(14:35 -0800)
committer
Jeremy Allison
<jra@samba.org>
Wed, 9 Jan 2008 22:35:15 +0000
(14:35 -0800)
Jeremy.
source/libaddns/dns.h
patch
|
blob
|
history
diff --git
a/source/libaddns/dns.h
b/source/libaddns/dns.h
index a83c0b4f8eae1ef60a0d78c86846f2c218a1477a..188d139808451f55b3cda8cea01f034159437b22 100644
(file)
--- a/
source/libaddns/dns.h
+++ b/
source/libaddns/dns.h
@@
-25,7
+25,15
@@
#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>