From cc411e42caf7d7cd0847a592f107e97ea9f6bd65 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sat, 6 Feb 2010 16:29:41 -0800 Subject: syslinux/pxe.h use the same type as for a far pointer was using segoff16_t, was using far_ptr_t for the same thing -- use the same type so the macros are available for both. Signed-off-by: H. Peter Anvin --- com32/include/syslinux/pxe.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'com32') diff --git a/com32/include/syslinux/pxe.h b/com32/include/syslinux/pxe.h index 037642bc..97f7c2b9 100644 --- a/com32/include/syslinux/pxe.h +++ b/com32/include/syslinux/pxe.h @@ -37,6 +37,7 @@ #include #include #include +#include /* PXE spec structures and definitions. These mostly follow the PXE spec, except when the PXE spec is unnecessarily stupid. Of course, @@ -57,10 +58,7 @@ typedef struct { uint16_t segsize; } __packed pxe_segdesc_t; -typedef struct { - uint16_t offs; - uint16_t seg; -} segoff16_t; +typedef far_ptr_t segoff16_t; typedef struct { uint8_t opcode; -- cgit