summaryrefslogtreecommitdiff
path: root/source3/smbd/ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/ssl.c')
-rw-r--r--source3/smbd/ssl.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/smbd/ssl.c b/source3/smbd/ssl.c
index 1c953272c3..1f098b2533 100644
--- a/source3/smbd/ssl.c
+++ b/source3/smbd/ssl.c
@@ -19,9 +19,16 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include "includes.h"
+
+/*
+ * Hmmm, only check on WITH_SSL after we have included includes.h
+ * which pulls in config.h which is where WITH_SSL is defined, if
+ * at all :-)
+ */
+
#ifdef WITH_SSL /* should always be defined if this module is compiled */
-#include "includes.h"
#include <ssl.h>
#include <err.h>