summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-13 10:55:32 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-05-05 21:21:39 -0500
commit1cedfe0875b4f4be57787ee5183ce8c843954361 (patch)
tree727e7cda514744634cc13ff7abcb707361b6105d
parenta1ddd49b0461c94aa7775008cf40bd0d5f5ec55e (diff)
downloadmusl-1cedfe0875b4f4be57787ee5183ce8c843954361.tar.gz
musl-1cedfe0875b4f4be57787ee5183ce8c843954361.tar.bz2
musl-1cedfe0875b4f4be57787ee5183ce8c843954361.tar.xz
musl-1cedfe0875b4f4be57787ee5183ce8c843954361.zip
various: users of pipe2 need to define FTM now
-rw-r--r--src/misc/forkpty.c1
-rw-r--r--src/misc/wordexp.c1
-rw-r--r--src/stdio/popen.c1
-rw-r--r--src/unistd/faccessat.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/misc/forkpty.c b/src/misc/forkpty.c
index caf13adb..43494b96 100644
--- a/src/misc/forkpty.c
+++ b/src/misc/forkpty.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <pty.h>
#include <utmp.h>
#include <unistd.h>
diff --git a/src/misc/wordexp.c b/src/misc/wordexp.c
index db83a69f..be9cb6d5 100644
--- a/src/misc/wordexp.c
+++ b/src/misc/wordexp.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <wordexp.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/src/stdio/popen.c b/src/stdio/popen.c
index 3ec83394..58883b11 100644
--- a/src/stdio/popen.c
+++ b/src/stdio/popen.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
diff --git a/src/unistd/faccessat.c b/src/unistd/faccessat.c
index 557503eb..756a7bc4 100644
--- a/src/unistd/faccessat.c
+++ b/src/unistd/faccessat.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <unistd.h>
#include <fcntl.h>
#include <sys/wait.h>