aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-04 23:07:17 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-04 23:07:17 +0100
commit9ea608bf9e969890e7da9417259c282e4b3f0323 (patch)
treec6929e9313f9b25467a48ed12e4c9e8d222a6c8a
parentdb88486ad9fb9ebe3aac5ea2495bd711759af8bf (diff)
Define _POSIX_C_SOURCE
-rw-r--r--cbs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cbs.h b/cbs.h
index c7eab15..b16128b 100644
--- a/cbs.h
+++ b/cbs.h
@@ -50,6 +50,9 @@
# error "Non-POSIX platform detected"
#endif
+/* Required for st_mtim */
+#define _POSIX_C_SOURCE 200809L
+
#include <sys/stat.h>
#include <sys/wait.h>