From: Alexander von Gluck IV Date: Wed, 13 May 2015 14:40:01 +0000 (-0500) Subject: gallium/st + hgl: Build fixes for Haiku X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=915d808a5653653b5c7b5413c4f667db017239ec;ds=sidebyside 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 --- diff --git a/src/gallium/state_trackers/hgl/hgl.c b/src/gallium/state_trackers/hgl/hgl.c index b75dc26bc39..77f7c2256e5 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 + #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 f9d7dfc8734..b24aef7dd5d 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 + #include "GLView.h" #include "bitmap_wrapper.h" diff --git a/src/hgl/SConscript b/src/hgl/SConscript index 70db1494df8..71881f504c9 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',