diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-01-31 14:36:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:36 -0500 |
commit | accbfaa4c3ffe669cc29aac8a85c4144ad234e43 (patch) | |
tree | 40f472cf7e857256cff95cef86e58890130569a3 /source3/smbd | |
parent | 3af5838096872039ac201385763f1e4c0fafb034 (diff) | |
download | samba-accbfaa4c3ffe669cc29aac8a85c4144ad234e43.tar.gz samba-accbfaa4c3ffe669cc29aac8a85c4144ad234e43.tar.bz2 samba-accbfaa4c3ffe669cc29aac8a85c4144ad234e43.zip |
r21091: Fix the build without inotify
(This used to be commit 686345b7ed727db7b1d9bc164208ecfb612837b6)
Diffstat (limited to 'source3/smbd')
-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 } |