summaryrefslogtreecommitdiff
blob: 2874a94393707001a8879120426d63f3f0734f9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/pub/regex.c b/pub/regex.c
index ba15918..dcaa9b4 100644
--- a/pub/regex.c
+++ b/pub/regex.c
@@ -40,6 +40,7 @@
 
 /* We need this for `regex.h', and perhaps for the Emacs include files.  */
 #include <sys/types.h>
+#include <string.h>
 #include "gnuregex.h"
 
 /* The `emacs' switch turns on certain matching commands