summaryrefslogtreecommitdiff
path: root/src/misc
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 /src/misc
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
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/forkpty.c1
-rw-r--r--src/misc/wordexp.c1
2 files changed, 2 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>