summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-02-23 13:02:56 -0700
committerBrian Paul <brianp@vmware.com>2009-02-23 13:02:56 -0700
commit4fc7cde770a66ff5bcf817af33a7b0b2c04354d5 (patch)
tree061bef5251ea8f8df5adc875db810e26c60957ef
parent73658ff04fd4cb5f492b0477775430efc5f8b4ca (diff)
mesa: include compiler.h, fixes cell build, remove Haiku special case
-rw-r--r--src/mesa/main/dlopen.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/main/dlopen.c b/src/mesa/main/dlopen.c
index 94bec4a0887..414cfad8e26 100644
--- a/src/mesa/main/dlopen.c
+++ b/src/mesa/main/dlopen.c
@@ -28,6 +28,7 @@
*/
+#include "compiler.h"
#include "dlopen.h"
#if defined(_GNU_SOURCE) && !defined(__MINGW32__)
@@ -36,10 +37,7 @@
#if defined(_WIN32)
#include <windows.h>
#endif
-#if defined(__HAIKU__)
-/* for NULL */
-#include <stdio.h>
-#endif
+
/**
* Wrapper for dlopen().