From: Jan Beich Date: Mon, 16 Sep 2019 12:55:06 +0000 (+0000) Subject: util: simplify BSD includes X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=6ea0a918bb87076e7d7f63314929760e6bc72041;ds=sidebyside util: simplify BSD includes Reviewed-by: Matt Turner Signed-off-by: Jan Beich --- diff --git a/src/util/u_cpu_detect.c b/src/util/u_cpu_detect.c index 960f990636d..79da996a7aa 100644 --- a/src/util/u_cpu_detect.c +++ b/src/util/u_cpu_detect.c @@ -47,22 +47,17 @@ #endif #endif -#if defined(PIPE_OS_NETBSD) || defined(PIPE_OS_OPENBSD) +#if defined(PIPE_OS_BSD) #include #include #include #endif -#if defined(PIPE_OS_FREEBSD) || defined(PIPE_OS_DRAGONFLY) -#include -#include +#if defined(PIPE_OS_FREEBSD) #if __has_include() #include #define HAVE_ELF_AUX_INFO #endif -#if defined(PIPE_ARCH_PPC) -#include -#endif #endif #if defined(PIPE_OS_LINUX)