Haiku: fix build

This commit is contained in:
Kostadin Damyanov 2015-10-17 15:41:01 +03:00
parent 29caf2bb5b
commit c925fbce2d
3 changed files with 14 additions and 14 deletions

View File

@ -37,9 +37,8 @@ def configure(env):
env.Append(CPPPATH = ['#platform/haiku'])
# TODO: add clang and try gcc2 too
env["CC"] = "gcc-x86"
env["CXX"] = "g++-x86"
env["CC"] = "gcc"
env["CXX"] = "g++"
if (env["target"]=="release"):
if (env["debug_release"]=="yes"):

View File

@ -4,8 +4,9 @@
#include <kernel/image.h> // needed for image_id
#include <DirectWindow.h>
#include "os/input.h"
#include "core/os/os.h"
#include "main/input_default.h"
#include "haiku_gl_view.h"
#define REDRAW_MSG 'rdrw'

View File

@ -1,7 +1,6 @@
#ifndef OS_HAIKU_H
#define OS_HAIKU_H
#include "os/input.h"
#include "drivers/unix/os_unix.h"
#include "servers/visual_server.h"
#include "servers/visual/rasterizer.h"
@ -11,6 +10,7 @@
#include "servers/audio/sample_manager_sw.h"
#include "servers/spatial_sound/spatial_sound_server_sw.h"
#include "servers/spatial_sound_2d/spatial_sound_2d_server_sw.h"
#include "main/input_default.h"
#include "audio_driver_media_kit.h"
#include "context_gl_haiku.h"