tests/amdgpu: Fix on FreeBSD
FreeBSD have endian.h under the sys directory. Signed-off-by: Emmanuel Vadot <manu@FreeBSD.org>main
parent
d4fdeaf19b
commit
d034db142d
|
@ -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…
Reference in New Issue