Patchwork [1/2] xilinx.h: Added missing includes

login
register
mail settings
Submitter Peter A. G. Crosthwaite
Date Aug. 22, 2011, 8:15 a.m.
Message ID <1314000925-2255-1-git-send-email-peter.crosthwaite@petalogix.com>
Download mbox | patch
Permalink /patch/110868/
State New
Headers show

Comments

Peter A. G. Crosthwaite - Aug. 22, 2011, 8:15 a.m.
Added some missing #includes for this file. Previously this file
relied on its clients to pre-include its dependencies.

Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
---
 hw/xilinx.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/hw/xilinx.h b/hw/xilinx.h
index 090e6f7..3a1f4c6 100644
--- a/hw/xilinx.h
+++ b/hw/xilinx.h
@@ -1,3 +1,5 @@ 
+#include "qemu-common.h"
+#include "net.h"
 
 /* OPB Interrupt Controller.  */
 qemu_irq *microblaze_pic_init_cpu(CPUState *env);