summaryrefslogtreecommitdiff
path: root/src/regex/regcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex/regcomp.c')
-rw-r--r--src/regex/regcomp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regex/regcomp.c b/src/regex/regcomp.c
index 9c3585b1..8dc2aa8d 100644
--- a/src/regex/regcomp.c
+++ b/src/regex/regcomp.c
@@ -1,3 +1,4 @@
+#include "sys/types.h"
#include <regex.h>
int regcomp(regex_t * restrict preg, const char * restrict pattern, int cflags)