summaryrefslogtreecommitdiff
path: root/src/stdio/popen.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-03-04 03:23:42 -0500
committerJakob Kaivo <jkk@ung.org>2020-03-04 03:23:42 -0500
commit0bd100d7cca8d9b333a309448c2847b3dbce4a06 (patch)
tree798d286c59f77e9cab77ea7d4845811b8a1f1be2 /src/stdio/popen.c
parent921b86d6a1316585469fd0c1a2d876079925ec11 (diff)
compile with c=AMD1 and POSIX.2
Diffstat (limited to 'src/stdio/popen.c')
-rw-r--r--src/stdio/popen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stdio/popen.c b/src/stdio/popen.c
index 201800a7..04918003 100644
--- a/src/stdio/popen.c
+++ b/src/stdio/popen.c
@@ -8,6 +8,10 @@
#include "nonstd/assert.h"
#include "_stdio.h"
+#ifdef __STDC_VERSION__
+#include "wchar.h"
+#endif
+
FILE * popen(const char * command, const char * mode)
{
ASSERT_NONNULL(command);