diff options
author | Günther Deschner <gd@samba.org> | 2011-05-06 12:53:38 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-05-06 16:37:22 +0200 |
commit | 675573d54b717ffc24cf3b49301ff649aecc259a (patch) | |
tree | 0a360d725668c72b300619dc82fdb9e88790b661 /source3/libsmb | |
parent | 27022587e31769718ab53f4d114e03ac2f205f27 (diff) | |
download | samba-675573d54b717ffc24cf3b49301ff649aecc259a.tar.gz samba-675573d54b717ffc24cf3b49301ff649aecc259a.tar.bz2 samba-675573d54b717ffc24cf3b49301ff649aecc259a.zip |
s3-includes: finally only include client.h when libsmb is used.
Guenther
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clirap.h | 2 | ||||
-rw-r--r-- | source3/libsmb/libsmb.h | 1 | ||||
-rw-r--r-- | source3/libsmb/smbsock_connect.c | 1 |
3 files changed, 4 insertions, 0 deletions
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" |