summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-07-07 22:12:56 -0400
committermidipix <writeonce@midipix.org>2018-07-07 22:12:56 -0400
commit34aafa7f11fe54e514cd3d8b60c33cd54e3f8c1b (patch)
tree4f099a9c1a81146a88861944a9adbc6bed7f798e /src/driver
parent0f1753c27b5338bf32f3b5784fb5d6a8edd0c462 (diff)
downloadslibtool-34aafa7f11fe54e514cd3d8b60c33cd54e3f8c1b.tar.bz2
slibtool-34aafa7f11fe54e514cd3d8b60c33cd54e3f8c1b.tar.xz
implementation: use of AT_FDCWD: define _POSIX_C_SOURCE as needed.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_driver_ctx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 5f5f609..8a1b0ec 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.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 <stdint.h>
#include <unistd.h>
#include <fcntl.h>