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:
parent
cbf91a3008
commit
d6f43ca72c
@ -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 -
|
||||
|
||||
|
6
headers/build/DanoBuildCompatibility.h
Normal file
6
headers/build/DanoBuildCompatibility.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef DANO_BUILD_COMPATIBILITY_H
|
||||
#define DANO_BUILD_COMPATIBILITY_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#endif // DANO_BUILD_COMPATIBILITY_H
|
Loading…
Reference in New Issue
Block a user