summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-21 16:25:25 +0000
committerVolker Lendecke <vlendec@samba.org>2007-01-21 16:25:25 +0000
commitbb819af52e6b72a85f66bc50f780bec37720bd15 (patch)
tree3a22153aa18299f03c8c534751a73e294ed9f592 /source
parent66da442eec673d683f135d7c0753d0f77c26eea0 (diff)
downloadsamba-bb819af52e6b72a85f66bc50f780bec37720bd15.tar.gz
samba-bb819af52e6b72a85f66bc50f780bec37720bd15.tar.xz
samba-bb819af52e6b72a85f66bc50f780bec37720bd15.zip
r20933: Fix the build without inotify
Diffstat (limited to 'source')
-rw-r--r--source/smbd/notify_inotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/notify_inotify.c b/source/smbd/notify_inotify.c
index 92af6b473d8..64ea62ff741 100644
--- a/source/smbd/notify_inotify.c
+++ b/source/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)