summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/rtasm
diff options
context:
space:
mode:
authorFabio Pedretti <[email protected]>2013-11-06 10:55:28 +0100
committerAndreas Boll <[email protected]>2013-11-06 22:08:26 +0100
commit110009302bddb4c42a5b3ed5ca451d6bb50a06a0 (patch)
tree1b031f918b91342b52b2ef69dfc054c13499c3a0 /src/gallium/auxiliary/rtasm
parent4f4da81dc8a7060520baff82153330a9675f122a (diff)
gallium: fix build on GNU/kFreeBSD
Patch from Debian package Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Andreas Boll <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/rtasm')
-rw-r--r--src/gallium/auxiliary/rtasm/rtasm_execmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/rtasm/rtasm_execmem.c b/src/gallium/auxiliary/rtasm/rtasm_execmem.c
index 3c4b0483ae8..edc1b66e836 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_execmem.c
+++ b/src/gallium/auxiliary/rtasm/rtasm_execmem.c
@@ -38,7 +38,7 @@
#include "rtasm_execmem.h"
-#if defined(PIPE_OS_BSD)
+#ifndef MAP_ANONYMOUS
#define MAP_ANONYMOUS MAP_ANON
#endif