mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Fix MODSEC-247
This commit is contained in:
25
apache2/modsecurity_config.h
Normal file
25
apache2/modsecurity_config.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/* Some APR files define PACKAGE* constants, which may conflict
|
||||
* so this is here to prevent that by removing them.
|
||||
*/
|
||||
|
||||
/* Undefine all these so there are no conflicts */
|
||||
#undef PACKAGE
|
||||
#undef PACKAGE_BUGREPORT
|
||||
#undef PACKAGE_NAME
|
||||
#undef PACKAGE_STRING
|
||||
#undef PACKAGE_TARNAME
|
||||
#undef PACKAGE_URL
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Include the real autoconf header */
|
||||
#include "modsecurity_config_auto.h"
|
||||
|
||||
/* Undefine all these (again) so there are no conflicts */
|
||||
#undef PACKAGE
|
||||
#undef PACKAGE_BUGREPORT
|
||||
#undef PACKAGE_NAME
|
||||
#undef PACKAGE_STRING
|
||||
#undef PACKAGE_TARNAME
|
||||
#undef PACKAGE_URL
|
||||
#undef PACKAGE_VERSION
|
||||
|
@@ -23,6 +23,7 @@
|
||||
#include "msc_util.h"
|
||||
|
||||
#include <apr_lib.h>
|
||||
#include "modsecurity_config.h"
|
||||
|
||||
/**
|
||||
* NOTE: Be careful as these can ONLY be used on static values for X.
|
||||
|
Reference in New Issue
Block a user