--- a/fsmonitor/linux/inotify_stubs.c 2015-11-19 21:20:11.043113342 +0000 +++ b/fsmonitor/linux/inotify_stubs.c 2015-11-19 22:06:22.964016998 +0000 @@ -29,13 +29,8 @@ #include -#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 4 -#define GLIBC_SUPPORT_INOTIFY 1 -#else -#define GLIBC_SUPPORT_INOTIFY 0 -#endif - -#if GLIBC_SUPPORT_INOTIFY +#include "hasinotify.h" +#ifdef GLIBC_SUPPORT_INOTIFY #include #else #include "inotify_compat.h"