summaryrefslogtreecommitdiff
path: root/source3/smbd/notify_inotify.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-21 16:25:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:21 -0500
commit0de21e951544b5ee85b074427bda30fff3a1c9f4 (patch)
tree0d4f732985de4db5412b9997e3875e490df96a6c /source3/smbd/notify_inotify.c
parent420e577004cdb9e00d290d3681df3b3196336d81 (diff)
downloadsamba-0de21e951544b5ee85b074427bda30fff3a1c9f4.tar.gz
samba-0de21e951544b5ee85b074427bda30fff3a1c9f4.tar.bz2
samba-0de21e951544b5ee85b074427bda30fff3a1c9f4.zip
r20933: Fix the build without inotify
(This used to be commit 4587d8097255c8b8fb8990bc8a13f8145986d29d)
Diffstat (limited to 'source3/smbd/notify_inotify.c')
-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)