Only the source file uses fdc.h but not the header, so remove it from the public interface.
Signed-off-by: Bernhard Beschow <shen...@gmail.com> --- include/hw/i386/pc.h | 1 - hw/i386/pc.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index a10ceeabbf..48097c9124 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -5,7 +5,6 @@ #include "qapi/qapi-types-common.h" #include "qemu/uuid.h" #include "hw/boards.h" -#include "hw/block/fdc.h" #include "hw/block/flash.h" #include "hw/i386/x86.h" diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 29b9964733..0d732b7530 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "qemu/units.h" #include "hw/i386/pc.h" +#include "hw/block/fdc.h" #include "hw/char/serial.h" #include "hw/char/parallel.h" #include "hw/hyperv/hv-balloon.h" -- 2.43.0