diff --git a/lib/cppcheck.vcxproj b/lib/cppcheck.vcxproj
index 9373e394219..fba92e60dce 100644
--- a/lib/cppcheck.vcxproj
+++ b/lib/cppcheck.vcxproj
@@ -163,6 +163,7 @@
+
@@ -174,6 +175,7 @@
+
diff --git a/lib/lib.pri b/lib/lib.pri
index 4dd6782b633..7887a65fb15 100644
--- a/lib/lib.pri
+++ b/lib/lib.pri
@@ -52,6 +52,7 @@ HEADERS += $${PWD}/addoninfo.h \
$${PWD}/json.h \
$${PWD}/keywords.h \
$${PWD}/library.h \
+ $${PWD}/matchcompiler.h \
$${PWD}/mathlib.h \
$${PWD}/path.h \
$${PWD}/pathanalysis.h \
@@ -63,6 +64,7 @@ HEADERS += $${PWD}/addoninfo.h \
$${PWD}/reverseanalyzer.h \
$${PWD}/settings.h \
$${PWD}/smallvector.h \
+ $${PWD}/sourcelocation.h \
$${PWD}/standards.h \
$${PWD}/summaries.h \
$${PWD}/suppressions.h \
diff --git a/tools/dmake/dmake.cpp b/tools/dmake/dmake.cpp
index d4ee7ddb3e0..a8c84954975 100644
--- a/tools/dmake/dmake.cpp
+++ b/tools/dmake/dmake.cpp
@@ -466,8 +466,10 @@ int main(int argc, char **argv)
libfiles_h.emplace_back("filesettings.h");
libfiles_h.emplace_back("findtoken.h");
libfiles_h.emplace_back("json.h");
+ libfiles_h.emplace_back("matchcompiler.h");
libfiles_h.emplace_back("precompiled.h");
libfiles_h.emplace_back("smallvector.h");
+ libfiles_h.emplace_back("sourcelocation.h");
libfiles_h.emplace_back("standards.h");
libfiles_h.emplace_back("tokenrange.h");
libfiles_h.emplace_back("valueptr.h");