diff --git a/contrib/modsecurity/Makefile b/contrib/modsecurity/Makefile index 72956f9e9..7853397cd 100644 --- a/contrib/modsecurity/Makefile +++ b/contrib/modsecurity/Makefile @@ -26,7 +26,7 @@ LIBXML_INC := /usr/include/libxml2 endif CFLAGS = -g -Wall -pthread -LDFLAGS = -lpthread -levent -levent_pthreads -lcurl -lapr-1 -laprutil-1 -lxml2 -lpcre -lyajl +LDFLAGS += -lpthread -levent -levent_pthreads -lcurl -lapr-1 -laprutil-1 -lxml2 -lpcre -lyajl INCS += -I../../include -I../../ebtree -I$(MODSEC_INC) -I$(APACHE2_INC) -I$(APR_INC) -I$(LIBXML_INC) LIBS = diff --git a/contrib/modsecurity/spoa.h b/contrib/modsecurity/spoa.h index daee6d233..d618f9bbe 100644 --- a/contrib/modsecurity/spoa.h +++ b/contrib/modsecurity/spoa.h @@ -20,6 +20,8 @@ #ifndef __SPOA_H__ #define __SPOA_H__ +#include + #include #include #include