From: Greg V Date: Mon, 23 Oct 2017 20:20:43 +0000 (+0300) Subject: util: use OpenBSD/NetBSD code on FreeBSD/DragonFly X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d8c91eb913c77586a64f85eddf8b44875fad74a;p=mesa.git 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 --- 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