aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/x86/common_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/x86/common_x86.c')
-rw-r--r--mesalib/src/mesa/x86/common_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/x86/common_x86.c b/mesalib/src/mesa/x86/common_x86.c
index 86fbca91e..1c8640514 100644
--- a/mesalib/src/mesa/x86/common_x86.c
+++ b/mesalib/src/mesa/x86/common_x86.c
@@ -42,7 +42,7 @@
#include <sys/types.h>
#include <sys/sysctl.h>
#endif
-#if defined(USE_SSE_ASM) && defined(__OpenBSD__)
+#if defined(USE_SSE_ASM) && (defined(__OpenBSD__) || defined(__NetBSD__))
#include <sys/param.h>
#include <sys/sysctl.h>
#include <machine/cpu.h>