summaryrefslogtreecommitdiff
path: root/src/stdio
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-25 21:08:46 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-25 21:08:46 -0500
commitf26bf1396557e4bc739d6a7703099f75bfe2fb99 (patch)
tree1ac1d21defcccac8032590aa6bc145b9d8877016 /src/stdio
parent21f6ab11f8554328772ac992ced6947b2b67df65 (diff)
fix warning from -Wall
Diffstat (limited to 'src/stdio')
-rw-r--r--src/stdio/popen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stdio/popen.c b/src/stdio/popen.c
index 56fce132..ab9b1663 100644
--- a/src/stdio/popen.c
+++ b/src/stdio/popen.c
@@ -54,7 +54,10 @@ FILE * popen(const char * command, const char * mode)
return NULL;
}
+ #if defined __STDC_VERSION__
fwide(p, -1);
+ #endif
+
p->pipe_pid = child;
return p;
}