Selaa lähdekoodia

Fix Userland build.

Andreas Kling 6 vuotta sitten
vanhempi
commit
17c7bf01a5
2 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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