From 686345b7ed727db7b1d9bc164208ecfb612837b6 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 31 Jan 2007 14:36:50 +0000 Subject: [PATCH] r21091: Fix the build without inotify --- source/smbd/notify.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/smbd/notify.c b/source/smbd/notify.c index 2907bd7e0f4..49219bcca52 100644 --- a/source/smbd/notify.c +++ b/source/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 }