aboutsummaryrefslogtreecommitdiff
path: root/lib/libdisk/libdisk.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdisk/libdisk.h')
-rw-r--r--lib/libdisk/libdisk.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h
index 785b25aa8b7a..c988adc6f844 100644
--- a/lib/libdisk/libdisk.h
+++ b/lib/libdisk/libdisk.h
@@ -27,7 +27,8 @@ enum platform {
p_pc98,
p_sparc64,
p_ia64,
- p_ppc
+ p_ppc,
+ p_amd64
};
extern const enum platform platform;
@@ -69,7 +70,7 @@ struct disk {
#if !defined(__ia64__)
u_char *boot1;
#endif
-#if defined(__i386__) /* the i386 needs extra help... */
+#if defined(__i386__) || defined(__amd64__) /* the i386 needs extra help... */
u_char *boot2;
#endif
struct chunk *chunks;