Index: arch/amd64/include/mm/frame.h
===================================================================
--- arch/amd64/include/mm/frame.h	(revision 0060b1d1293c10762ef0404f6cf74d2dd4daf597)
+++ arch/amd64/include/mm/frame.h	(revision 9371c301116efcd366e21f4bc55ae2528b3fbbec)
@@ -30,9 +30,14 @@
 #define __amd64_FRAME_H__
 
+#ifndef __ASM__
+#include <arch/types.h>
+#endif /* __ASM__ */
+
 #define FRAME_SIZE		4096
 
 #ifndef __ASM__
+extern __address last_frame;
 extern void frame_arch_init(void);
-#endif
+#endif /* __ASM__ */
 
 #endif
