From 9d8c91eb913c77586a64f85eddf8b44875fad74a Mon Sep 17 00:00:00 2001 From: Greg V Date: Mon, 23 Oct 2017 23:20:43 +0300 Subject: [PATCH] util: use OpenBSD/NetBSD code on FreeBSD/DragonFly Obtained from: FreeBSD ports Reviewed-by: Eric Engestrom Reviewed-by: Brian Paul [Emil Velikov: wrap long line] Reviewed-by: Emil Velikov --- src/util/u_endian.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/u_endian.h b/src/util/u_endian.h index b9d563dd435..7bbd7dc2153 100644 --- a/src/util/u_endian.h +++ b/src/util/u_endian.h @@ -54,7 +54,8 @@ # define PIPE_ARCH_BIG_ENDIAN #endif -#elif defined(__OpenBSD__) || defined(__NetBSD__) +#elif defined(__OpenBSD__) || defined(__NetBSD__) || \ + defined(__FreeBSD__) || defined(__DragonFly__) #include #include -- 2.30.2