summaryrefslogtreecommitdiff
path: root/lib/addns/dns.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-13 11:21:11 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-13 04:41:05 +0100
commit310cf9857491e23678657598739d77520e7afcda (patch)
treebee744c0dd98cd35e4f917c3397306e22e2ed428 /lib/addns/dns.h
parentbee55a29578e8eab66c36de9b2526769b05b8dba (diff)
downloadsamba-310cf9857491e23678657598739d77520e7afcda.tar.gz
s3-lib/addns: Move to system/kerberos.h and HAVE_KRB5
Diffstat (limited to 'lib/addns/dns.h')
-rw-r--r--lib/addns/dns.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/lib/addns/dns.h b/lib/addns/dns.h
index d98a27ea2da..a4b033d7122 100644
--- a/lib/addns/dns.h
+++ b/lib/addns/dns.h
@@ -27,6 +27,7 @@
#include "../replace/replace.h"
#include "system/network.h"
+#include "system/kerberos.h"
/* make sure we have included the correct config.h */
#ifndef NO_CONFIG_H /* for some tests */
@@ -77,22 +78,6 @@
#endif
#endif
-#ifdef HAVE_KRB5_H
-#include <krb5.h>
-#endif
-
-#if HAVE_GSSAPI_GSSAPI_H
-#include <gssapi/gssapi.h>
-#elif HAVE_GSSAPI_GSSAPI_GENERIC_H
-#include <gssapi/gssapi_generic.h>
-#elif HAVE_GSSAPI_H
-#include <gssapi.h>
-#endif
-
-#if defined(HAVE_GSSAPI_H) || defined(HAVE_GSSAPI_GSSAPI_H) || defined(HAVE_GSSAPI_GSSAPI_GENERIC_H)
-#define HAVE_GSSAPI_SUPPORT 1
-#endif
-
#include <talloc.h>
/*******************************************************************