summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-08-07 09:12:55 +0100
committerJosé Fonseca <[email protected]>2008-08-12 13:00:18 +0100
commit3b5ee3d6de2c08faf69c701bf05d8f33ccd01502 (patch)
treebdba208232556589f964981fb9bd12730e359a11 /src/gallium/include/pipe
parentcf16285d1bcb9f172a930f9d4f3402e379b53c33 (diff)
gallium: Allow compilation inside X.
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_compiler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h
index 2afb8464c73..4d64c74a4aa 100644
--- a/src/gallium/include/pipe/p_compiler.h
+++ b/src/gallium/include/pipe/p_compiler.h
@@ -31,8 +31,13 @@
#include "p_config.h"
+#ifndef XFree86Server
#include <stdlib.h>
#include <string.h>
+#else
+#include "xf86_ansic.h"
+#include "xf86_libc.h"
+#endif
#if defined(_WIN32) && !defined(__WIN32__)