speed up build by only including regex.h where needed

This commit is contained in:
rofl0r 2020-09-30 05:13:45 +01:00
parent 7c664ad0b2
commit 35c8edcf73
4 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -23,6 +23,7 @@
* add new directives to. Who knows if I'm right though.
*/
#include <regex.h>
#include "common.h"
#include "conf.h"

View File

@ -24,6 +24,7 @@
#include "main.h"
#include <regex.h>
#include "filter.h"
#include "heap.h"
#include "log.h"

View File

@ -20,6 +20,7 @@
* HTML error pages with variable substitution.
*/
#include <regex.h>
#include "main.h"
#include "common.h"