summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.hw3
-rw-r--r--Makefile.target3
-rw-r--r--hw/watchdog.h2
-rw-r--r--hw/wdt_i6300esb.c1
4 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.hw b/Makefile.hw
index 84d0cc506e..11227bf873 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -18,6 +18,9 @@ obj-y += nand.o ecc.o
obj-y += m48t59.o escc.o
+# PCI watchdog devices
+obj-y += wdt_i6300esb.o
+
# SCSI layer
obj-y += lsi53c895a.o esp.o
diff --git a/Makefile.target b/Makefile.target
index 28c7096b30..9e70767c78 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -190,9 +190,6 @@ obj-y += pcnet.o
obj-y += rtl8139.o
obj-y += e1000.o
-# PCI watchdog devices
-obj-y += wdt_i6300esb.o
-
# Hardware support
obj-i386-y = ide/core.o ide/qdev.o ide/isa.o ide/pci.o
obj-i386-y += pckbd.o $(sound-obj-y) dma.o
diff --git a/hw/watchdog.h b/hw/watchdog.h
index 330062c85f..8fd32c34da 100644
--- a/hw/watchdog.h
+++ b/hw/watchdog.h
@@ -22,6 +22,8 @@
#ifndef QEMU_WATCHDOG_H
#define QEMU_WATCHDOG_H
+#include "qemu-queue.h"
+
struct WatchdogTimerModel {
QLIST_ENTRY(WatchdogTimerModel) entry;
diff --git a/hw/wdt_i6300esb.c b/hw/wdt_i6300esb.c
index 9126e72524..3abaa87cf0 100644
--- a/hw/wdt_i6300esb.c
+++ b/hw/wdt_i6300esb.c
@@ -25,7 +25,6 @@
#include "qemu-timer.h"
#include "watchdog.h"
#include "hw.h"
-#include "pc.h"
#include "pci.h"
/*#define I6300ESB_DEBUG 1*/