summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorTobias Nygren <[email protected]>2015-04-17 20:27:55 +0200
committerMatt Turner <[email protected]>2015-04-17 12:04:48 -0700
commitcfab4ea9c654819c96272a62d7b1664e9038fe91 (patch)
tree322be9dda2d033cfdc3e82adc6e735210568f9ad /src/gallium/include
parent52e4e4712f0da7e7e1d1164d9487f2d38f80c441 (diff)
adjust a couple of ifdefs to handle NetBSD correctly
Acked-by: Matt Turner <[email protected]> Signed-off-by: Tobias Nygren <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h
index 5b6db7dcc67..794aabe85f2 100644
--- a/src/gallium/include/pipe/p_config.h
+++ b/src/gallium/include/pipe/p_config.h
@@ -157,7 +157,7 @@
# define PIPE_ARCH_BIG_ENDIAN
#endif
-#elif defined(__OpenBSD__)
+#elif defined(__OpenBSD__) || defined(__NetBSD__)
#include <sys/types.h>
#include <machine/endian.h>