--- core/src/plugins/stored/CMakeLists.txt	2021-12-21 06:00:49.000000000 -0500
+++ core/src/plugins/stored/CMakeLists.txt	2022-01-15 09:28:41.225020000 -0500
@@ -33,6 +33,12 @@
   endif()
 endif()
 
+if(HAVE_FREEBSD_OS)
+  include_directories(
+    ${PROJECT_SOURCE_DIR}/src/fastlz/include
+  )
+endif()
+
 add_subdirectory(python)
 
 add_library(autoxflate-sd MODULE autoxflate/autoxflate-sd.cc)
