瀏覽代碼

Fix Userland build.

Andreas Kling 6 年之前
父節點
當前提交
17c7bf01a5
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      AK/StdLibExtras.h
  2. 2 0
      Kernel/kstdio.h

+ 2 - 0
AK/StdLibExtras.h

@@ -13,6 +13,8 @@
 #include <utility>
 #endif
 
+#include <AK/Types.h>
+
 ALWAYS_INLINE void fast_dword_copy(dword* dest, const dword* src, size_t count)
 {
 #ifdef SERENITY

+ 2 - 0
Kernel/kstdio.h

@@ -2,4 +2,6 @@
 
 #include "kprintf.h"
 
+#ifndef USERLAND
 #define printf dbgprintf
+#endif