mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r21091: Fix the build without inotify
This commit is contained in:
parent
985dde8ed0
commit
686345b7ed
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user