Add missing include.
authorNikolaus Rath <Nikolaus@rath.org>
Sat, 1 Jul 2023 13:10:28 +0000 (14:10 +0100)
committerNikolaus Rath <Nikolaus@rath.org>
Sat, 1 Jul 2023 13:10:47 +0000 (14:10 +0100)
example/notify_inval_entry.c
test/test_write_cache.c

index ea3d43fe306c283c1e952c00c0cb7005d496b7ab..0d085df7dad13eebc8def2550fe2eb9c6ec149ad 100644 (file)
@@ -87,6 +87,7 @@
 #include <assert.h>
 #include <signal.h>
 #include <stddef.h>
+#include <sys/stat.h>
 #include <unistd.h>
 #include <pthread.h>
 
index bc62ac1e67db2250641f908b1f3b81020a825e0e..e96a88240743505905f1c14046e2bd39fd94f2b2 100644 (file)
@@ -19,6 +19,7 @@
 #include <assert.h>
 #include <stddef.h>
 #include <unistd.h>
+#include <sys/stat.h>
 #include <pthread.h>
 
 #ifndef __linux__