summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source3/include/includes.h3
-rw-r--r--source3/lib/util_transfer_file.c1
-rw-r--r--source3/libnet/libnet_samsync_ldif.c1
-rw-r--r--source3/modules/vfs_crossrename.c1
-rw-r--r--source3/smbd/close.c1
-rw-r--r--source3/smbd/vfs.c1
6 files changed, 5 insertions, 3 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 8440108e42..7da7ba29f2 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -605,9 +605,6 @@ enum flush_reason_enum {
#include "srvstr.h"
#include "safe_string.h"
-/* prototypes from lib/util_transfer_file.c */
-#include "transfer_file.h"
-
#ifndef SIGCLD
#define SIGCLD SIGCHLD
#endif
diff --git a/source3/lib/util_transfer_file.c b/source3/lib/util_transfer_file.c
index 1e3b76fc77..8303b2bfe1 100644
--- a/source3/lib/util_transfer_file.c
+++ b/source3/lib/util_transfer_file.c
@@ -21,6 +21,7 @@
#include <includes.h>
+#include "transfer_file.h"
/****************************************************************************
Transfer some data between two fd's.
diff --git a/source3/libnet/libnet_samsync_ldif.c b/source3/libnet/libnet_samsync_ldif.c
index 454f0a9c41..8c6522a723 100644
--- a/source3/libnet/libnet_samsync_ldif.c
+++ b/source3/libnet/libnet_samsync_ldif.c
@@ -26,6 +26,7 @@
#include "includes.h"
#include "libnet/libnet_samsync.h"
#include "smbldap.h"
+#include "transfer_file.h"
#ifdef HAVE_LDAP
diff --git a/source3/modules/vfs_crossrename.c b/source3/modules/vfs_crossrename.c
index a754b1ff76..e1d0353d1e 100644
--- a/source3/modules/vfs_crossrename.c
+++ b/source3/modules/vfs_crossrename.c
@@ -17,6 +17,7 @@
#include "includes.h"
#include "system/filesys.h"
+#include "transfer_file.h"
#define MODULE "crossrename"
diff --git a/source3/smbd/close.c b/source3/smbd/close.c
index b2b8c2283a..b71f6c7dff 100644
--- a/source3/smbd/close.c
+++ b/source3/smbd/close.c
@@ -25,6 +25,7 @@
#include "librpc/gen_ndr/messaging.h"
#include "smbd/globals.h"
#include "fake_file.h"
+#include "transfer_file.h"
/****************************************************************************
Run a file if it is a magic script.
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 7af94f94b5..cc4ee22400 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -27,6 +27,7 @@
#include "system/filesys.h"
#include "smbd/globals.h"
#include "memcache.h"
+#include "transfer_file.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_VFS