Fix stupid logic typo, that prevented monitoring from working.

This commit is contained in:
Gleb Smirnoff 2017-12-29 15:19:41 -08:00 committed by Justin Maggard
parent 42f0630198
commit 4ba6f1fa27

View File

@ -3,7 +3,7 @@ int monitor_insert_directory(int fd, char *name, const char * path);
int monitor_remove_file(const char * path);
int monitor_remove_directory(int fd, const char * path);
#if defined(HAVE_INOTIFY) && defined(HAVE_KQUEUE)
#if defined(HAVE_INOTIFY) || defined(HAVE_KQUEUE)
#define HAVE_WATCH 1
int add_watch(int, const char *);
#endif