Created attachment 21448 [details] [review] Add the symlink and guard the #include of the linux-only header The drm_mode.h wasn't symlinked into the bsd-core directory. In addition, the #include <linux/kernel.h> needs to be guarded against being included when we're compiling BSD kmods.
This has been fixed in commit 58d557c73b9e4ad1964fd083abeec74875c141cb of mesa/drm
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.