summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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().