Skip to content

Commit 3d2233e

Browse files
committed
Fix missing private_access include resolution for md.h
1 parent de8d52c commit 3d2233e

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ cppcheck:
6363
--enable=warning,style,performance,portability,unusedFunction,missingInclude \
6464
--inconclusive \
6565
--template="warning: {file},{line},{severity},{id},{message}" \
66-
-I headers -I . -I $(top_srcdir)/others -I $(top_srcdir)/src -I $(top_srcdir)/others/mbedtls/include -I $(top_srcdir)/others/mbedtls/tf-psa-crypto/include \
66+
-I headers -I . -I $(top_srcdir)/others -I $(top_srcdir)/src -I $(top_srcdir)/others/mbedtls/include -I $(top_srcdir)/others/mbedtls/tf-psa-crypto/include -I $(top_srcdir)/others/mbedtls/tf-psa-crypto/drivers/builtin/include \
6767
--error-exitcode=1 \
6868
-i "src/parser/seclang-parser.cc" -i "src/parser/seclang-scanner.cc" \
6969
-i others \

build/win32/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ file(GLOB_RECURSE libModSecuritySources ${BASE_DIR}/src/*.cc)
154154
add_library(libModSecurity SHARED ${libModSecuritySources})
155155

156156
target_compile_definitions(libModSecurity PRIVATE WITH_PCRE2)
157-
target_include_directories(libModSecurity PRIVATE ${BASE_DIR} ${BASE_DIR}/headers ${BASE_DIR}/others ${MBEDTLS_DIR}/include ${TF_PSA_CRYPTO_DIR}/include)
157+
target_include_directories(libModSecurity PRIVATE ${BASE_DIR} ${BASE_DIR}/headers ${BASE_DIR}/others ${MBEDTLS_DIR}/include ${TF_PSA_CRYPTO_DIR}/include ${TF_PSA_CRYPTO_DIR}/drivers/builtin/include)
158158
target_link_libraries(libModSecurity PRIVATE pcre2::pcre2 libinjection mbedcrypto Poco::Poco Iphlpapi.lib)
159159

160160
macro(add_package_dependency project compile_definition link_library flag)

src/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ libmodsecurity_la_CPPFLAGS = \
297297
-I$(top_srcdir)/others \
298298
-I$(top_srcdir)/others/mbedtls/include \
299299
-I$(top_srcdir)/others/mbedtls/tf-psa-crypto/include \
300+
-I$(top_srcdir)/others/mbedtls/tf-psa-crypto/drivers/builtin/include \
300301
-fPIC \
301302
-O3 \
302303
-I$(top_srcdir)/headers \

0 commit comments

Comments
 (0)