summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/execmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/execmem.c')
-rw-r--r--src/mesa/main/execmem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/execmem.c b/src/mesa/main/execmem.c
index 1655fd66e6e..7d498a82791 100644
--- a/src/mesa/main/execmem.c
+++ b/src/mesa/main/execmem.c
@@ -36,14 +36,13 @@
-#ifdef __linux__
+#if defined(__linux__) && !defined(XFree86Server)
/*
* Allocate a large block of memory which can hold code then dole it out
* in pieces by means of the generic memory manager code.
*/
-
#include <unistd.h>
#include <sys/mman.h>
#include "mm.h"