From accbfaa4c3ffe669cc29aac8a85c4144ad234e43 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 31 Jan 2007 14:36:50 +0000 Subject: r21091: Fix the build without inotify (This used to be commit 686345b7ed727db7b1d9bc164208ecfb612837b6) --- source3/smbd/notify.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/smbd/notify.c') diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 2907bd7e0f..49219bcca5 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -610,6 +610,10 @@ NTSTATUS sys_notify_watch(struct sys_notify_context *ctx, struct notify_event *ev), void *private_data, void *handle) { +#ifdef HAVE_INOTIFY return inotify_watch(ctx, e, callback, private_data, handle); +#else + return NT_STATUS_OK; +#endif } -- cgit