mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-05 11:30:22 +01:00
tests/amdgpu: Fix on FreeBSD
FreeBSD have endian.h under the sys directory. Signed-off-by: Emmanuel Vadot <manu@FreeBSD.org>
This commit is contained in:
parent
d4fdeaf19b
commit
d034db142d
1 changed files with 4 additions and 0 deletions
|
|
@ -29,7 +29,11 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#ifdef __FreeBSD__
|
||||
#include <sys/endian.h>
|
||||
#else
|
||||
#include <endian.h>
|
||||
#endif
|
||||
#include <strings.h>
|
||||
#include <xf86drm.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue