From 016f7b6f32b517e6e958a15ab916d6f58b36b73e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 25 Jan 2004 18:31:04 +0000 Subject: [PATCH] Fixed compilation when you can't add private/kernel to your include headers. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6301 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/util/Jamfile | 5 +++++ src/kernel/core/util/kernel_cpp.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/kernel/core/util/Jamfile b/src/kernel/core/util/Jamfile index de910de520..70de496574 100644 --- a/src/kernel/core/util/Jamfile +++ b/src/kernel/core/util/Jamfile @@ -1,5 +1,10 @@ SubDir OBOS_TOP src kernel core util ; +UsePrivateHeaders [ FDirName kernel util ] ; + # that's a temporary inconvenience until we have a glibc based stdio.h + # you don't have to understand it, you just have to live with it :-) + # send your complaints to: axeld@pinc-software.de + KernelStaticLibrary libkernel_util : <$(SOURCE_GRIST)>list.c <$(SOURCE_GRIST)>kernel_cpp.cpp diff --git a/src/kernel/core/util/kernel_cpp.cpp b/src/kernel/core/util/kernel_cpp.cpp index 856a43b629..3a11a48739 100644 --- a/src/kernel/core/util/kernel_cpp.cpp +++ b/src/kernel/core/util/kernel_cpp.cpp @@ -6,7 +6,7 @@ #if _KERNEL_MODE -#include "util/kernel_cpp.h" +#include "kernel_cpp.h" const nothrow_t std::nothrow = {};