summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-02 14:03:30 +0100
committerGünther Deschner <gd@samba.org>2011-03-16 10:11:16 +0100
commitd19ea55e9e48ccb1ca63bfc0ec97f0ba7b26f7fd (patch)
treecc090740800525471de40f7dbde9bfb08b2c54ab /source3/libsmb
parent6c8d802391e0aaf375108bcd1270565983d735a8 (diff)
downloadsamba-d19ea55e9e48ccb1ca63bfc0ec97f0ba7b26f7fd.tar.gz
samba-d19ea55e9e48ccb1ca63bfc0ec97f0ba7b26f7fd.tar.bz2
samba-d19ea55e9e48ccb1ca63bfc0ec97f0ba7b26f7fd.zip
s3-includes: avoid global include of gssapi headers.
Guenther
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/errormap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c
index 71efff37a5..049929f74b 100644
--- a/source3/libsmb/errormap.c
+++ b/source3/libsmb/errormap.c
@@ -22,6 +22,14 @@
#include "includes.h"
#include "nsswitch/libwbclient/wbclient.h"
+#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
+
/* This map was extracted by the ERRMAPEXTRACT smbtorture command.
The setup was a Samba HEAD (2002-01-03) PDC and an Win2k member
workstation. The PDC was modified (by using the 'name_to_nt_status'