summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clirap.h2
-rw-r--r--source3/libsmb/libsmb.h1
-rw-r--r--source3/libsmb/smbsock_connect.c1
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"