summaryrefslogtreecommitdiff
path: root/src/wordexp
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-23 15:22:33 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-23 15:22:33 -0500
commit1221e834f49adb91eb0b7443a57274f2611459c2 (patch)
tree7afb7ed5a203ddefd5559005af7ec61d801b972e /src/wordexp
parentf546f27d1fdb8d2663b2fbb130f53ee32cac90b0 (diff)
compile in current environment
Diffstat (limited to 'src/wordexp')
-rw-r--r--src/wordexp/wordexp.c1
-rw-r--r--src/wordexp/wordfree.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/wordexp/wordexp.c b/src/wordexp/wordexp.c
index 5ac38d9e..4a81db03 100644
--- a/src/wordexp/wordexp.c
+++ b/src/wordexp/wordexp.c
@@ -1,3 +1,4 @@
+#include "sys/types.h"
#include <wordexp.h>
int wordexp(const char *restrict words, wordexp_t *restrict pwordexp, int flags)
diff --git a/src/wordexp/wordfree.c b/src/wordexp/wordfree.c
index f1043c2d..096de4be 100644
--- a/src/wordexp/wordfree.c
+++ b/src/wordexp/wordfree.c
@@ -1,3 +1,4 @@
+#include "sys/types.h"
#include <wordexp.h>
void wordfree(wordexp_t *pwordexp)