This fixes the build again; due to the glibc includes, math.h would not

be used from posix/math.h but some glibc headers. This is not nice, but
it works.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12218 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-04-01 13:12:19 +00:00
parent 8940f93c1d
commit eb2068515f
+7
View File
@@ -1,5 +1,12 @@
SubDir OBOS_TOP src kernel libroot posix math ;
SubDirHdrs [ FDirName $(OBOS_TOP) headers posix ] ;
# even if this looks redundant, it's needed so that posix/math.h is
# still the first choice (there are files with the same name in
# glibc's includes.
# ToDo: The best solution would probably be to restrict the additional
# header includes to ceilf.c and floorf.c, as they are the only users
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) glibc ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) glibc include ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) glibc include arch $(OBOS_ARCH) ] ;