summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Tigeot <[email protected]>2016-01-17 10:10:21 +0100
committerEmil Velikov <[email protected]>2016-01-31 11:56:09 +0000
commita48afb92ffda6e149c553ec82a05fee9a17441f8 (patch)
tree3ab3a8407b40f19583aed07bb817ee21360dde3f
parent7f19e293055d2a9897df803efa310c293280ab8f (diff)
gallium: Add DragonFly support
Cc: [email protected] Signed-off-by: Emil Velikov <[email protected]>
-rw-r--r--src/gallium/auxiliary/util/u_cpu_detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_cpu_detect.c b/src/gallium/auxiliary/util/u_cpu_detect.c
index c719d3a77f0..a84de4fef7b 100644
--- a/src/gallium/auxiliary/util/u_cpu_detect.c
+++ b/src/gallium/auxiliary/util/u_cpu_detect.c
@@ -52,7 +52,7 @@
#include <machine/cpu.h>
#endif
-#if defined(PIPE_OS_FREEBSD)
+#if defined(PIPE_OS_FREEBSD) || defined(PIPE_OS_DRAGONFLY)
#include <sys/types.h>
#include <sys/sysctl.h>
#endif