--- tools/lldb/tools/lldb-server/CMakeLists.txt.orig	2022-06-06 11:25:33.710977000 -0400
+++ tools/lldb/tools/lldb-server/CMakeLists.txt	2022-06-06 11:26:00.739872000 -0400
@@ -6,7 +6,7 @@
   )
 endif ()
 
-if ( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
+if ( CMAKE_SYSTEM_NAME MATCHES "FreeBSD|MidnightBSD" )
 include_directories(
   ../../../../llvm/include
   ../../source/Plugins/Process/FreeBSD
