summaryrefslogtreecommitdiff
path: root/src/wordexp
diff options
context:
space:
mode:
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)