summaryrefslogtreecommitdiff
path: root/src/fs_event
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-10-04 13:36:54 -0400
committerAndrew Opalach <andrew@akon.city> 2024-10-04 13:36:54 -0400
commit9e63fb59e7b8506183172869ea44b68cdec29be5 (patch)
treea47f51121275477b3ce93b1d2b82ea1f342d68ed /src/fs_event
parenta320ee672ccf52297dc509b25ed263f165709b31 (diff)
downloadlibnaunet-9e63fb59e7b8506183172869ea44b68cdec29be5.tar.gz
libnaunet-9e63fb59e7b8506183172869ea44b68cdec29be5.tar.bz2
libnaunet-9e63fb59e7b8506183172869ea44b68cdec29be5.zip
Tons of changes
Mainly for things that came up in other projects. Signed-off-by: Andrew Opalach <andrew@akon.city>
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"