build: Change where we get drm_fourcc.h from

The canonical source for userspace is libdrm, not kernel headers.

Fixes compilation on Arch Linux.
This commit is contained in:
Benjamin Otte
2023-10-22 20:38:32 +02:00
parent 5ca65f04fe
commit e05764806a
7 changed files with 21 additions and 14 deletions

View File

@@ -3,7 +3,7 @@
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <linux/dma-heap.h>
#include <drm/drm_fourcc.h>
#include <drm_fourcc.h>
/* For this to work, you may need to give /dev/dma_heap/system
* lax permissions.