summaryrefslogtreecommitdiff
path: root/globals.c
diff options
context:
space:
mode:
Diffstat (limited to 'globals.c')
-rw-r--r--globals.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/globals.c b/globals.c
index 14a53a45b4..8d6f2b1968 100644
--- a/globals.c
+++ b/globals.c
@@ -33,6 +33,13 @@
#include "perlapi.h" /* bring in PL_force_link_funcs */
+/* regcomp.h * isn't #included in perl.h, as its only included within a
+ * few specific files such as regcomp.c, regexec.c. So include it
+ * explicitly to process any data declarations within it.
+ */
+#include "regcomp.h"
+
+
/*
* ex: set ts=8 sts=4 sw=4 et:
*/