summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-24 17:33:59 +1100
committerStefan Metzmacher <metze@samba.org>2011-10-24 13:56:52 +0200
commit59e838a1c4edb4a2fba220cf2374bb0880b6c43d (patch)
tree43ca00ffa404d4b36486cb7199fda3afaf71dacb
parent5cb6adb5908a743ae7d3f87c2a0f5ca5b76dea6d (diff)
downloadsamba-59e838a1c4edb4a2fba220cf2374bb0880b6c43d.tar.gz
samba-59e838a1c4edb4a2fba220cf2374bb0880b6c43d.tar.bz2
samba-59e838a1c4edb4a2fba220cf2374bb0880b6c43d.zip
libcli/smb Move smb_seal.h include to files that use it.
This is required because at the moment, smb_seal.h includes references to gssapi structures and this causes issues with header dependencies on subsystems that otherwise do not need a gssapi dependency. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--libcli/smb/smb_common.h1
-rw-r--r--libcli/smb/smb_seal.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/libcli/smb/smb_common.h b/libcli/smb/smb_common.h
index 228e451b8d..1f21e553ba 100644
--- a/libcli/smb/smb_common.h
+++ b/libcli/smb/smb_common.h
@@ -28,6 +28,5 @@
#include "libcli/smb/smb_constants.h"
#include "libcli/smb/smb_util.h"
#include "libcli/smb/smb_unix_ext.h"
-#include "libcli/smb/smb_seal.h"
#endif
diff --git a/libcli/smb/smb_seal.c b/libcli/smb/smb_seal.c
index bf9576f288..67a5512636 100644
--- a/libcli/smb/smb_seal.c
+++ b/libcli/smb/smb_seal.c
@@ -21,6 +21,7 @@
#include "smb_common.h"
#include "libcli/auth/krb5_wrap.h"
#include "auth/gensec/gensec.h"
+#include "libcli/smb/smb_seal.h"
#undef malloc