From 675573d54b717ffc24cf3b49301ff649aecc259a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 6 May 2011 12:53:38 +0200 Subject: s3-includes: finally only include client.h when libsmb is used. Guenther --- source3/libsmb/clirap.h | 2 ++ source3/libsmb/libsmb.h | 1 + source3/libsmb/smbsock_connect.c | 1 + 3 files changed, 4 insertions(+) (limited to 'source3/libsmb') diff --git a/source3/libsmb/clirap.h b/source3/libsmb/clirap.h index 6ea6978c04..26265dec50 100644 --- a/source3/libsmb/clirap.h +++ b/source3/libsmb/clirap.h @@ -25,6 +25,8 @@ #ifndef _LIBSMB_CLIRAP_H #define _LIBSMB_CLIRAP_H +struct cli_state; + /* The following definitions come from libsmb/clirap.c */ bool cli_api(struct cli_state *cli, diff --git a/source3/libsmb/libsmb.h b/source3/libsmb/libsmb.h index 210e55ebaa..7a9fb633b8 100644 --- a/source3/libsmb/libsmb.h +++ b/source3/libsmb/libsmb.h @@ -18,6 +18,7 @@ #ifndef _LIBSMB_LIBSMB_H #define _LIBSMB_LIBSMB_H +#include "client.h" #include "libsmb/proto.h" #endif /* _LIBSMB_LIBSMB_H */ diff --git a/source3/libsmb/smbsock_connect.c b/source3/libsmb/smbsock_connect.c index 0dd2b4e6a6..df2dbade1d 100644 --- a/source3/libsmb/smbsock_connect.c +++ b/source3/libsmb/smbsock_connect.c @@ -19,6 +19,7 @@ #include "includes.h" #include "../lib/util/tevent_ntstatus.h" +#include "client.h" #include "async_smb.h" #include "libsmb/nmblib.h" -- cgit