Ver código fonte

LibC: Make sure ARCH macro is available before use

Ben Wiederhake 3 anos atrás
pai
commit
8ba572d650
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      Userland/Libraries/LibC/sys/arch/regs.h

+ 2 - 0
Userland/Libraries/LibC/sys/arch/regs.h

@@ -6,6 +6,8 @@
 
 #pragma once
 
+#include <AK/Platform.h>
+
 #if ARCH(I386)
 #    include "i386/regs.h"
 #elif ARCH(X86_64)