Fix Haiku build.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2087 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2015-02-23 19:33:41 +00:00
parent 67d3636512
commit 6a225eb4ed
2 changed files with 3 additions and 2 deletions

View File

@ -203,8 +203,7 @@ endif
LOPT = $(shell sdl-config --libs) -lSDL_image -lpng -ljpeg -lz $(TTFLOPT) -lfreetype -lbe $(LUALOPT)
CC = gcc
#Append the gcc kind to the objdir (gcc2 or gcc4) to avoid conflicts when switching from one to other.
OBJKIND = $(lastword $(shell setgcc))
OBJDIR = ../obj/haiku/$(OBJKIND)
OBJDIR = ../obj/haiku
ZIP = zip
else

View File

@ -43,6 +43,8 @@
#elif defined(__linux__)
#include <limits.h>
#include <unistd.h>
#elif defined(__HAIKU__)
#include <FindDirectory.h>
#endif
#include "struct.h"