diff --git a/premake5.files.lua b/premake5.files.lua
index 7732005b8cf..d31ca3d6501 100644
--- a/premake5.files.lua
+++ b/premake5.files.lua
@@ -936,6 +936,7 @@ function mupdf_files()
"skew.c",
"separation.c",
"shade.c",
+ "stext-boxer.c",
"stext-device.c",
"stext-output.c",
"stext-search.c",
diff --git a/vs2022/mupdf.vcxproj b/vs2022/mupdf.vcxproj
index f588854886f..80173590435 100644
--- a/vs2022/mupdf.vcxproj
+++ b/vs2022/mupdf.vcxproj
@@ -947,6 +947,7 @@
+
diff --git a/vs2022/mupdf.vcxproj.filters b/vs2022/mupdf.vcxproj.filters
index 7a3210d231a..203f4833ca2 100644
--- a/vs2022/mupdf.vcxproj.filters
+++ b/vs2022/mupdf.vcxproj.filters
@@ -701,6 +701,9 @@
mupdf\source\fitz
+
+ mupdf\source\fitz
+
mupdf\source\fitz