aboutsummaryrefslogtreecommitdiff
path: root/include/hw/net
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-04-12 18:54:14 +0200
committerPeter Maydell <peter.maydell@linaro.org>2019-04-29 17:57:21 +0100
commite7a3c55a95ba3d091903624d4934f8be34ff4315 (patch)
treea957f129ba74e4fa738d720a78b6ad719342b994 /include/hw/net
parent66b03dcec2715ffb3bc121114650502c9d3ffaef (diff)
downloadqemu-e7a3c55a95ba3d091903624d4934f8be34ff4315.zip
qemu-e7a3c55a95ba3d091903624d4934f8be34ff4315.tar.gz
qemu-e7a3c55a95ba3d091903624d4934f8be34ff4315.tar.bz2
hw/net/ne2000-isa: Add guards to the header
Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20190412165416.7977-11-philmd@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/net')
-rw-r--r--include/hw/net/ne2000-isa.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hw/net/ne2000-isa.h b/include/hw/net/ne2000-isa.h
index ff2bed9..527337c 100644
--- a/include/hw/net/ne2000-isa.h
+++ b/include/hw/net/ne2000-isa.h
@@ -6,6 +6,10 @@
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
+
+#ifndef HW_NET_NE2K_ISA_H
+#define HW_NET_NE2K_ISA_H
+
#include "hw/hw.h"
#include "hw/qdev.h"
#include "hw/isa/isa.h"
@@ -31,3 +35,5 @@ static inline ISADevice *isa_ne2000_init(ISABus *bus, int base, int irq,
}
return d;
}
+
+#endif