summaryrefslogtreecommitdiffhomepage
path: root/src/internal/slibtool_objmeta_impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/slibtool_objmeta_impl.c')
-rw-r--r--src/internal/slibtool_objmeta_impl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/slibtool_objmeta_impl.c b/src/internal/slibtool_objmeta_impl.c
index b38cf75..e723a35 100644
--- a/src/internal/slibtool_objmeta_impl.c
+++ b/src/internal/slibtool_objmeta_impl.c
@@ -4,6 +4,10 @@
/* Released under the Standard MIT License; see COPYING.SLIBTOOL. */
/*******************************************************************/
+#ifndef _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 200809L
+#endif
+
#include <fcntl.h>
#include <stdio.h>
#include <slibtool/slibtool.h>