summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util/debug_s3.h1
-rw-r--r--source3/include/includes.h2
-rw-r--r--source3/include/smb.h4
3 files changed, 3 insertions, 4 deletions
diff --git a/lib/util/debug_s3.h b/lib/util/debug_s3.h
index ce8869d64c..96b8ed74d9 100644
--- a/lib/util/debug_s3.h
+++ b/lib/util/debug_s3.h
@@ -18,6 +18,7 @@
*/
struct messaging_context;
+struct server_id;
void debug_message(struct messaging_context *msg_ctx, void *private_data, uint32_t msg_type, struct server_id src, DATA_BLOB *data);
void debug_register_msgs(struct messaging_context *msg_ctx);
bool reopen_logs( void );
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 2032db537b..f61cb8dec0 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -527,6 +527,8 @@ typedef char fstring[FSTRING_LEN];
#include "../lib/util/data_blob.h"
#include "../lib/util/time.h"
+#include "../lib/util/debug.h"
+#include "../lib/util/debug_s3.h"
#include "libads/ads_status.h"
#include "../libcli/util/error.h"
diff --git a/source3/include/smb.h b/source3/include/smb.h
index a6f7e9bd87..8ebde2f4ad 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -70,10 +70,6 @@
/* how long to wait for secondary SMB packets (milli-seconds) */
#define SMB_SECONDARY_WAIT (60*1000)
-/* Debugging stuff */
-#include "lib/util/debug.h"
-#include "lib/util/debug_s3.h"
-
/* this defines the error codes that receive_smb can put in smb_read_error */
enum smb_read_errors {
SMB_READ_OK = 0,