gallium: Add DragonFly support
authorFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 17 Jan 2016 09:10:21 +0000 (10:10 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 31 Jan 2016 11:56:09 +0000 (11:56 +0000)
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/auxiliary/util/u_cpu_detect.c

index c719d3a77f0c64a8ce5239486b01560603e1fab3..a84de4fef7b097566d94237b797f17e84cb1f165 100644 (file)
@@ -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