diff options
author | Alexander von Gluck IV <kallisti5@unixzen.com> | 2015-05-13 09:40:01 -0500 |
---|---|---|
committer | Alexander von Gluck IV <kallisti5@unixzen.com> | 2015-05-13 09:41:30 -0500 |
commit | 915d808a5653653b5c7b5413c4f667db017239ec (patch) | |
tree | 36e84d2c5d1084332a50f4ac7b05bd4c79f2b520 | |
parent | d247615e0d67a7c8eaeea3fece837229c8c9658c (diff) | |
download | external_mesa3d-915d808a5653653b5c7b5413c4f667db017239ec.zip external_mesa3d-915d808a5653653b5c7b5413c4f667db017239ec.tar.gz external_mesa3d-915d808a5653653b5c7b5413c4f667db017239ec.tar.bz2 |
gallium/st + hgl: Build fixes for Haiku
* 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
-rw-r--r-- | src/gallium/state_trackers/hgl/hgl.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/haiku-softpipe/GalliumContext.cpp | 2 | ||||
-rw-r--r-- | src/hgl/SConscript | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/hgl/hgl.c b/src/gallium/state_trackers/hgl/hgl.c index b75dc26..77f7c22 100644 --- a/src/gallium/state_trackers/hgl/hgl.c +++ b/src/gallium/state_trackers/hgl/hgl.c @@ -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" diff --git a/src/gallium/targets/haiku-softpipe/GalliumContext.cpp b/src/gallium/targets/haiku-softpipe/GalliumContext.cpp index f9d7dfc..b24aef7 100644 --- a/src/gallium/targets/haiku-softpipe/GalliumContext.cpp +++ b/src/gallium/targets/haiku-softpipe/GalliumContext.cpp @@ -10,6 +10,8 @@ #include "GalliumContext.h" +#include <stdio.h> + #include "GLView.h" #include "bitmap_wrapper.h" diff --git a/src/hgl/SConscript b/src/hgl/SConscript index 70db149..71881f5 100644 --- a/src/hgl/SConscript +++ b/src/hgl/SConscript @@ -6,6 +6,7 @@ Import('*') env = env.Clone() env.Append(CPPPATH = [ + '#/src', '#/src/mapi', '#/src/mesa', '#/src/mesa/main', |