From d034db142d2e99ae30edf2dd766b9e8faaa9aec6 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Wed, 4 Nov 2020 16:13:56 +0100 Subject: [PATCH] tests/amdgpu: Fix on FreeBSD FreeBSD have endian.h under the sys directory. Signed-off-by: Emmanuel Vadot --- tests/amdgpu/security_tests.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/amdgpu/security_tests.c b/tests/amdgpu/security_tests.c index 351eac82..eed695a3 100644 --- a/tests/amdgpu/security_tests.c +++ b/tests/amdgpu/security_tests.c @@ -29,7 +29,11 @@ #include #include +#ifdef __FreeBSD__ +#include +#else #include +#endif #include #include