summaryrefslogtreecommitdiff
path: root/src/fs_event
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs_event')
-rw-r--r--src/fs_event/fs_event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fs_event/fs_event.h b/src/fs_event/fs_event.h
index 0240e6f..d4983d4 100644
--- a/src/fs_event/fs_event.h
+++ b/src/fs_event/fs_event.h
@@ -4,6 +4,10 @@
#ifndef _WIN32
#include <sys/inotify.h>
+#define AKI_CLOSE_WRITE IN_CLOSE_WRITE
+#else
+struct inotify_event {};
+#define AKI_CLOSE_WRITE 0
#endif
#include "../loop.h"