---
 i386/include/mach/i386/multiboot.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/i386/include/mach/i386/multiboot.h 
b/i386/include/mach/i386/multiboot.h
index 8df5261f..816883a0 100644
--- a/i386/include/mach/i386/multiboot.h
+++ b/i386/include/mach/i386/multiboot.h
@@ -132,7 +132,11 @@ struct multiboot32_module
  * Versions used by the biosmem module.
  */
 
+#ifdef MACH_KERNEL
 #include <kern/macros.h>
+#else
+#define __packed __attribute__((packed))
+#endif
 
 /*
  * Magic number provided by the OS to the boot loader.
-- 
2.47.3


Reply via email to