From 4bc68ed5c2eb4df33905c90e22b41fa8b1315ae5 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Sat, 1 Aug 2009 09:39:46 +0000 Subject: [PATCH] Fixed build with gcc4 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32057 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/haiku3d/Jamfile | 2 +- src/apps/haiku3d/MathUtils.cpp | 2 ++ src/apps/haiku3d/RenderView.cpp | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/apps/haiku3d/Jamfile b/src/apps/haiku3d/Jamfile index 9977ebd32b..b2f5d708b1 100644 --- a/src/apps/haiku3d/Jamfile +++ b/src/apps/haiku3d/Jamfile @@ -22,6 +22,6 @@ Application Haiku3d : BitmapTexture.cpp VideoFileTexture.cpp - : be game GL media translation + : be game GL media translation $(TARGET_LIBSUPC++) : Haiku3d.rdef ; diff --git a/src/apps/haiku3d/MathUtils.cpp b/src/apps/haiku3d/MathUtils.cpp index 145de5c871..27402a4ca6 100644 --- a/src/apps/haiku3d/MathUtils.cpp +++ b/src/apps/haiku3d/MathUtils.cpp @@ -11,6 +11,8 @@ #include "MathUtils.h" +#include + float MathUtils::EaseInOutCubic(float t /*time*/, float b /*begin*/, float c /*distance*/, float d /*duration*/) diff --git a/src/apps/haiku3d/RenderView.cpp b/src/apps/haiku3d/RenderView.cpp index de3cec4b04..e836ea7e30 100644 --- a/src/apps/haiku3d/RenderView.cpp +++ b/src/apps/haiku3d/RenderView.cpp @@ -20,6 +20,8 @@ #include #include +#include + RenderView::RenderView(BRect frame) : BGLView(frame, "renderView", B_FOLLOW_ALL, B_WILL_DRAW,