Looks like Dano headers aren't perfect. I hope this solution is at least a tiny

bit like Ingo would have done it :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14857 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-11-11 15:50:47 +00:00
parent cbf91a3008
commit d6f43ca72c
2 changed files with 13 additions and 0 deletions

View File

@ -569,6 +569,13 @@ if $(TARGET_PLATFORM) = libbe_test {
LIBBE_LIBRARY_NAME_MAP_be = libbe_haiku.so ;
}
if $(TARGET_PLATFORM) = dano {
local compatibilityHeader = -include [ FDirName $(HAIKU_TOP) headers build
DanoBuildCompatibility.h ] ;
TARGET_CCFLAGS += $(compatibilityHeader) ;
TARGET_C++FLAGS += $(compatibilityHeader) ;
}
#pragma mark -

View File

@ -0,0 +1,6 @@
#ifndef DANO_BUILD_COMPATIBILITY_H
#define DANO_BUILD_COMPATIBILITY_H
#include <sys/types.h>
#endif // DANO_BUILD_COMPATIBILITY_H