summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/notify_inotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/notify_inotify.c b/source3/smbd/notify_inotify.c
index 92af6b473d..64ea62ff74 100644
--- a/source3/smbd/notify_inotify.c
+++ b/source3/smbd/notify_inotify.c
@@ -21,11 +21,11 @@
#include "includes.h"
+#ifdef HAVE_INOTIFY
+
#include <linux/inotify.h>
#include <asm/unistd.h>
-#ifdef HAVE_INOTIFY
-
#ifndef HAVE_INOTIFY_INIT
/*
glibc doesn't define these functions yet (as of March 2006)