On Monday, December 7th, 2020 at 9:57 AM, James Park <james.park@xxxxxxxxxxxxxxxx> wrote: > I could adjust the block to look like this: > > #ifdef DRM_FOURCC_STANDALONE > #if defined(__linux__) > #include <linux/types.h> > #else > #include <stdint.h> > typedef uint32_t __u32; > typedef uint64_t __u64; > #endif > #else > #include "drm.h" > #endif This approach still breaks on BSDs when DRM_FOURCC_STANDALONE is defined and drm.h is included afterwards. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel