diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-04-21 18:51:49 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-04-21 18:51:49 +0000 |
commit | 6c39de0af096cc6ddbcc27d49451b9bee13dbd6c (patch) | |
tree | 62411c7eda39f12023d129209975895fbc634eaf /avahi-daemon/main.c | |
parent | edd44aec8a20f2653cfc6b4eb79cab0e0d39cc7c (diff) |
Add missing #ifdef to avoid build failure on system having neither sys/inotify.h
nor linux/inotify.h (Patch from Sven Wegener)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1452 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon/main.c')
-rw-r--r-- | avahi-daemon/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c index 0367b98..d994392 100644 --- a/avahi-daemon/main.c +++ b/avahi-daemon/main.c @@ -42,11 +42,13 @@ #include <sys/resource.h> #include <sys/socket.h> +#ifdef HAVE_INOTIFY #ifdef HAVE_SYS_INOTIFY_H #include <sys/inotify.h> #else #include "inotify-nosys.h" #endif +#endif #include <libdaemon/dfork.h> #include <libdaemon/dsignal.h> |