Include <util/kernel_cpp.h> in DoublyLinkedList.h only when compiling

for the kernel. Added missing includes in userland code that uses the
header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20366 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2007-03-11 13:56:45 +00:00
parent e1555e1fdf
commit 9781d591cb
3 changed files with 9 additions and 2 deletions

View File

@ -7,7 +7,10 @@
#include <SupportDefs.h>
#include <util/kernel_cpp.h>
#ifdef _KERNEL_MODE
# include <util/kernel_cpp.h>
#endif
#ifdef __cplusplus

View File

@ -3,10 +3,13 @@
* Distributed under the terms of the MIT License.
*/
#include "SymbolLookup.h"
#include <new>
#include <string.h>
#include <runtime_loader.h>
#include "SymbolLookup.h"
using std::nothrow;
using namespace BPrivate;

View File

@ -16,6 +16,7 @@
#include <new>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
using std::nothrow;