#ifndef __ASM_BOOTX_H__
#define __ASM_BOOTX_H__
+#include <asm/types.h>
+
#ifdef macintosh
#include <Types.h>
#include "linux_type_defs.h"
} boot_infos_t;
+#ifdef __KERNEL__
/* (*) The format of the colormap is 256 * 3 * 2 bytes. Each color index
* is represented by 3 short words containing a 16 bits (unsigned) color
* component. Later versions may contain the gamma table for direct-color
extern void bootx_init(unsigned long r4, unsigned long phys);
+#endif /* __KERNEL__ */
+
#ifdef macintosh
#pragma options align=reset
#endif