gallium/st + hgl: Build fixes for Haiku
authorAlexander von Gluck IV <kallisti5@unixzen.com>
Wed, 13 May 2015 14:40:01 +0000 (09:40 -0500)
committerAlexander von Gluck IV <kallisti5@unixzen.com>
Wed, 13 May 2015 14:41:30 +0000 (09:41 -0500)
* No impact risk to any other platforms
* Tracing printf needs stdio.h now due to child header change
* Add missing #/src include directory for util/macros.h

src/gallium/state_trackers/hgl/hgl.c
src/gallium/targets/haiku-softpipe/GalliumContext.cpp
src/hgl/SConscript

index b75dc26..77f7c22 100644 (file)
@@ -10,6 +10,8 @@
 
 #include "GLView.h"
 
+#include <stdio.h>
+
 #include "pipe/p_format.h"
 #include "util/u_atomic.h"
 #include "util/u_format.h"
index f9d7dfc..b24aef7 100644 (file)
@@ -10,6 +10,8 @@
 
 #include "GalliumContext.h"
 
+#include <stdio.h>
+
 #include "GLView.h"
 
 #include "bitmap_wrapper.h"
index 70db149..71881f5 100644 (file)
@@ -6,6 +6,7 @@ Import('*')
 env = env.Clone()
 
 env.Append(CPPPATH = [
+    '#/src',
     '#/src/mapi',
     '#/src/mesa',
     '#/src/mesa/main',