[haiku-commits] Re: haiku: hrev48671 - src/system/kernel/fs

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 13 Jan 2015 19:58:58 +0100

On 01/13/2015 04:22 PM, pulkomandy@xxxxxxxxxxxxx wrote:
index e16329a..90526ec 100644
--- a/src/system/kernel/fs/rootfs.cpp
+++ b/src/system/kernel/fs/rootfs.cpp
@@ -8,10 +8,12 @@


  #if FS_SHELL
-#      include <new>
-
  #     include "fssh_api_wrapper.h"

+#      undef size_t
+#      include <new>
+#      define size_t fssh_size_t
+
  #     include "KOpenHashTable.h"
  #     include "list.h"
  #else

How about including <new> at the beginning of fssh_api_wrapper.h (with C++-guard)?

CU, Ingo


Other related posts: