[syslinux:firmware] firmware: Don't include disk.h

syslinux-bot for Matt Fleming matt.fleming at intel.com
Fri Nov 9 09:06:11 PST 2012

Commit-ID:  a2c2872c5de695939d5da0aa833b6ef37c21fddb
Gitweb:     http://www.syslinux.org/commit/a2c2872c5de695939d5da0aa833b6ef37c21fddb
Author:     Matt Fleming <matt.fleming at intel.com>
AuthorDate: Fri, 20 Jan 2012 13:44:53 +0000
Committer:  Matt Fleming <matt.fleming at intel.com>
CommitDate: Fri, 20 Jan 2012 13:44:53 +0000

firmware: Don't include disk.h

disk.h is a core/ header file and should only be included by code that
requires it because not all code has core/include/ in its -I path
(which can result in a compilation failure).

Signed-off-by: Matt Fleming <matt.fleming at intel.com>

 com32/include/syslinux/firmware.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/com32/include/syslinux/firmware.h b/com32/include/syslinux/firmware.h
index f664c0c..8253619 100644
--- a/com32/include/syslinux/firmware.h
+++ b/com32/include/syslinux/firmware.h
@@ -2,7 +2,6 @@
 #include <syslinux/memscan.h>
-#include <disk.h>
 struct output_ops {
 	void (*erase) (int, int, int, int, uint8_t);

More information about the Syslinux-commits mailing list