Newer SmartOS has support for inotify which the configure script detects. The avahi inotify code needs FIONREAD which is defined in sys/filio.h on illumos. This patch adds the include and fixes the build. --- avahi-daemon/main.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c index 8c28fd6..ee12045 100644 --- a/avahi-daemon/main.c +++ b/avahi-daemon/main.c @@ -31,6 +31,9 @@ #include <grp.h> #include <pwd.h> #include <sys/stat.h> +#if defined(__sun) +#include <sys/filio.h> +#endif #include <sys/ioctl.h> #include <stdio.h> #include <fcntl.h> -- 1.9.3 (Apple Git-50) _______________________________________________ avahi mailing list avahi@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/avahi