summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/printing.c1
-rw-r--r--source3/smbd/fd_handle.c1
-rw-r--r--source3/smbd/fd_handle.h7
-rw-r--r--source3/smbd/smb1_utils.c2
4 files changed, 8 insertions, 3 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 67d798fbb21..82903359fc3 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "smbd/globals.h"
#include "system/syslog.h"
#include "system/filesys.h"
#include "printing.h"
diff --git a/source3/smbd/fd_handle.c b/source3/smbd/fd_handle.c
index 94d15ef848b..e599181fe6b 100644
--- a/source3/smbd/fd_handle.c
+++ b/source3/smbd/fd_handle.c
@@ -17,6 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "includes.h"
#include "fd_handle.h"
struct fd_handle {
diff --git a/source3/smbd/fd_handle.h b/source3/smbd/fd_handle.h
index 052db1d40c5..dc0e5e43940 100644
--- a/source3/smbd/fd_handle.h
+++ b/source3/smbd/fd_handle.h
@@ -20,9 +20,10 @@
#ifndef FD_HANDLE_H
#define FD_HANDLE_H
-#include "includes.h"
-#include "smbd/smbd.h"
-#include "smbd/globals.h"
+#include "replace.h"
+#include <talloc.h>
+
+struct fd_handle;
struct fd_handle *fd_handle_create(TALLOC_CTX *mem_ctx);
diff --git a/source3/smbd/smb1_utils.c b/source3/smbd/smb1_utils.c
index dadbbeefe00..a5ac28c584a 100644
--- a/source3/smbd/smb1_utils.c
+++ b/source3/smbd/smb1_utils.c
@@ -20,6 +20,8 @@
*/
#include "includes.h"
+#include "smbd/smbd.h"
+#include "smbd/globals.h"
#include "libcli/security/security.h"
#include "lib/util/sys_rw_data.h"
#include "smbd/fd_handle.h"