mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
util: simplify BSD includes
Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Jan Beich <jbeich@FreeBSD.org>
This commit is contained in:
parent
e892d9337f
commit
6ea0a918bb
1 changed files with 2 additions and 7 deletions
|
|
@ -47,22 +47,17 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(PIPE_OS_NETBSD) || defined(PIPE_OS_OPENBSD)
|
||||
#if defined(PIPE_OS_BSD)
|
||||
#include <sys/param.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <machine/cpu.h>
|
||||
#endif
|
||||
|
||||
#if defined(PIPE_OS_FREEBSD) || defined(PIPE_OS_DRAGONFLY)
|
||||
#include <sys/types.h>
|
||||
#include <sys/sysctl.h>
|
||||
#if defined(PIPE_OS_FREEBSD)
|
||||
#if __has_include(<sys/auxv.h>)
|
||||
#include <sys/auxv.h>
|
||||
#define HAVE_ELF_AUX_INFO
|
||||
#endif
|
||||
#if defined(PIPE_ARCH_PPC)
|
||||
#include <machine/cpu.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(PIPE_OS_LINUX)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue