summaryrefslogtreecommitdiff
path: root/synth/watch_files.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'synth/watch_files.cpp')
-rw-r--r--synth/watch_files.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/synth/watch_files.cpp b/synth/watch_files.cpp
index ce80224..3ea830a 100644
--- a/synth/watch_files.cpp
+++ b/synth/watch_files.cpp
@@ -1,3 +1,6 @@
+#include "defines.h"
+#ifdef WATCHFILES
+
#include <iostream>
#include <pthread.h>
#include <unistd.h>
@@ -158,3 +161,5 @@ void add_watch(int prog)
pthread_mutex_unlock(&inotify_map_mutex);
}
}
+
+#endif