From 3f16241a1d3243447d0244ebac05b447aec94df8 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 14 Mar 2006 01:29:56 +0000 Subject: r14363: Remove credentials.h from the global includes. (This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563) --- source4/auth/credentials/credentials.h | 4 ++++ source4/auth/credentials/credentials_files.c | 1 + source4/auth/credentials/credentials_ntlm.c | 1 + 3 files changed, 6 insertions(+) (limited to 'source4/auth/credentials') diff --git a/source4/auth/credentials/credentials.h b/source4/auth/credentials/credentials.h index eb4e5c96d0..58d393f762 100644 --- a/source4/auth/credentials/credentials.h +++ b/source4/auth/credentials/credentials.h @@ -20,6 +20,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef __CREDENTIALS_H__ +#define __CREDENTIALS_H__ struct ccache_container; @@ -103,3 +105,5 @@ struct cli_credentials { }; #include "auth/credentials/credentials_proto.h" + +#endif /* __CREDENTIALS_H__ */ diff --git a/source4/auth/credentials/credentials_files.c b/source4/auth/credentials/credentials_files.c index c4e384c2cd..dd510f97f1 100644 --- a/source4/auth/credentials/credentials_files.c +++ b/source4/auth/credentials/credentials_files.c @@ -28,6 +28,7 @@ #include "passdb/secrets.h" #include "system/filesys.h" #include "db_wrap.h" +#include "auth/credentials/credentials.h" /** * Read a file descriptor, and parse it for a password (eg from a file or stdin) diff --git a/source4/auth/credentials/credentials_ntlm.c b/source4/auth/credentials/credentials_ntlm.c index eafd5e00a2..768ed9bb3f 100644 --- a/source4/auth/credentials/credentials_ntlm.c +++ b/source4/auth/credentials/credentials_ntlm.c @@ -25,6 +25,7 @@ #include "includes.h" #include "librpc/gen_ndr/ndr_samr.h" /* for struct samrPassword */ #include "lib/crypto/crypto.h" +#include "auth/credentials/credentials.h" #include "libcli/auth/proto.h" void cli_credentials_get_ntlm_username_domain(struct cli_credentials *cred, TALLOC_CTX *mem_ctx, -- cgit