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:
parent
e1555e1fdf
commit
9781d591cb
@ -7,7 +7,10 @@
|
||||
|
||||
|
||||
#include <SupportDefs.h>
|
||||
#include <util/kernel_cpp.h>
|
||||
|
||||
#ifdef _KERNEL_MODE
|
||||
# include <util/kernel_cpp.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -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;
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
#include <new>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
using std::nothrow;
|
||||
|
Loading…
x
Reference in New Issue
Block a user