summaryrefslogtreecommitdiff
path: root/lib/replace/system
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-30 12:05:25 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-30 04:58:04 +0200
commite1eae822856c076f63874d8d3b07691b3154848d (patch)
treea4784ae6685cd7bd810bd626c0f600c7ca8f0f6a /lib/replace/system
parentb1f2547699d335287d5f007d108a067eb7a0203d (diff)
downloadsamba-e1eae822856c076f63874d8d3b07691b3154848d.tar.gz
samba-e1eae822856c076f63874d8d3b07691b3154848d.tar.bz2
samba-e1eae822856c076f63874d8d3b07691b3154848d.zip
kerberos: Only include gssapi/gssapi_krb5.h when available
Diffstat (limited to 'lib/replace/system')
-rw-r--r--lib/replace/system/kerberos.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/replace/system/kerberos.h b/lib/replace/system/kerberos.h
index 10d5f76ccc..6d8c59f9b5 100644
--- a/lib/replace/system/kerberos.h
+++ b/lib/replace/system/kerberos.h
@@ -45,7 +45,9 @@
#include <gssapi.h>
#endif
+#if HAVE_GSSAPI_GSSAPI_KRB5_H
#include <gssapi/gssapi_krb5.h>
+#endif
#endif
#endif