Mesa (master): mesa: include compiler.h, fixes cell build, remove Haiku special case

Brian Paul brianp at kemper.freedesktop.org
Mon Feb 23 12:05:31 PST 2009


Module: Mesa
Branch: master
Commit: 4fc7cde770a66ff5bcf817af33a7b0b2c04354d5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4fc7cde770a66ff5bcf817af33a7b0b2c04354d5

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Feb 23 13:02:56 2009 -0700

mesa: include compiler.h, fixes cell build, remove Haiku special case

---

 src/mesa/main/dlopen.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/mesa/main/dlopen.c b/src/mesa/main/dlopen.c
index 94bec4a..414cfad 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().



More information about the mesa-commit mailing list