diff options
-rw-r--r-- | src/common.h | 1 | ||||
-rw-r--r-- | src/conf.c | 1 | ||||
-rw-r--r-- | src/filter.c | 1 | ||||
-rw-r--r-- | src/html-error.c | 1 |
4 files changed, 3 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h index 47a1ed1..563ee6f 100644 --- a/src/common.h +++ b/src/common.h @@ -68,7 +68,6 @@ # include <arpa/inet.h> # include <grp.h> # include <pwd.h> -# include <regex.h> /* rest - some oddball headers */ #ifdef HAVE_VALUES_H @@ -23,6 +23,7 @@ * add new directives to. Who knows if I'm right though. */ +#include <regex.h> #include "common.h" #include "conf.h" diff --git a/src/filter.c b/src/filter.c index 8a0b085..d70cb59 100644 --- a/src/filter.c +++ b/src/filter.c @@ -24,6 +24,7 @@ #include "main.h" +#include <regex.h> #include "filter.h" #include "heap.h" #include "log.h" diff --git a/src/html-error.c b/src/html-error.c index 7c71f74..78c3ef0 100644 --- a/src/html-error.c +++ b/src/html-error.c @@ -20,6 +20,7 @@ * HTML error pages with variable substitution. */ +#include <regex.h> #include "main.h" #include "common.h" |