summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/libsmb_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/libsmb_context.c b/source3/libsmb/libsmb_context.c
index c04f751696..212b42fa88 100644
--- a/source3/libsmb/libsmb_context.c
+++ b/source3/libsmb/libsmb_context.c
@@ -27,6 +27,8 @@
#include "libsmb_internal.h"
+extern bool in_client;
+
/*
* Is the logging working / configfile read ?
*/
@@ -410,7 +412,6 @@ smbc_init_context(SMBCCTX *context)
int pid;
char *user = NULL;
char *home = NULL;
- extern bool in_client;
if (!context) {
errno = EBADF;