Simplified the include paths by fine-tuning what is included.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12241 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-04-04 21:47:36 +00:00
parent f3eaafc2f5
commit b8a9276a89
3 changed files with 4 additions and 14 deletions

View File

@ -1,16 +1,6 @@
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) ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) glibc math ] ;
KernelMergeObject posix_math.o :
acosh.c

View File

@ -13,8 +13,8 @@
* ====================================================
*/
#include "math.h"
#include "math_private.h"
#include <math.h>
#include "math/math_private.h"
static const float sHuge = 1.0e30;

View File

@ -24,8 +24,8 @@
#include <SupportDefs.h>
#include "math.h"
#include "math_private.h"
#include <math.h>
#include "math/math_private.h"
static const float sHuge = 1.0e30;