diff options
author | Jeremy Allison <jra@samba.org> | 2008-01-09 14:35:15 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-01-09 14:35:15 -0800 |
commit | 381c38688d14ad12f5690bca5b3da2d08faf759d (patch) | |
tree | 7251b3397e8e1ccaebdc5fa5a6731cd7224a1b98 /source3/libaddns/dns.h | |
parent | 817e0d899d2604c8f0feabd6d0b4f20eae8bd2a1 (diff) | |
download | samba-381c38688d14ad12f5690bca5b3da2d08faf759d.tar.gz samba-381c38688d14ad12f5690bca5b3da2d08faf759d.tar.xz samba-381c38688d14ad12f5690bca5b3da2d08faf759d.zip |
Try and fix the AIX build.
Jeremy.
(This used to be commit 231a148badf1f9b868ed1d37532020defa27bbd6)
Diffstat (limited to 'source3/libaddns/dns.h')
-rw-r--r-- | source3/libaddns/dns.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source3/libaddns/dns.h b/source3/libaddns/dns.h index a83c0b4f8ea..188d1398084 100644 --- a/source3/libaddns/dns.h +++ b/source3/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> |