A bit of #ifdef'ing to make the stuff edible for userland compilation
with gcc 4. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16147 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -12,13 +12,19 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <util/kernel_cpp.h>
|
||||
#ifndef _USER_MODE
|
||||
# include <util/kernel_cpp.h>
|
||||
#else
|
||||
# include <new>
|
||||
#endif
|
||||
#ifndef _BOOT_MODE
|
||||
# include <DiskDeviceTypes.h>
|
||||
#else
|
||||
# include <boot/partitions.h>
|
||||
#endif
|
||||
#include <KernelExport.h>
|
||||
#ifndef _USER_MODE
|
||||
# include <KernelExport.h>
|
||||
#endif
|
||||
|
||||
#include "PartitionMap.h"
|
||||
|
||||
@@ -26,6 +32,8 @@
|
||||
//#define TRACE(x) dprintf x
|
||||
|
||||
|
||||
using std::nothrow;
|
||||
|
||||
// partition_type
|
||||
struct partition_type {
|
||||
uint8 type;
|
||||
|
||||
Reference in New Issue
Block a user