--- lib/i915/intel_memory_region.c.orig 2022-08-31 20:00:01 UTC +++ lib/i915/intel_memory_region.c @@ -21,7 +21,11 @@ * IN THE SOFTWARE. */ +#ifdef __linux__ #include +#elif defined(__FreeBSD__) +#include +#endif #include #include #include