diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/notify.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |