aboutsummaryrefslogtreecommitdiff
path: root/hw/pcnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pcnet.h')
-rw-r--r--hw/pcnet.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/pcnet.h b/hw/pcnet.h
index da8c3bde7b..96643117a0 100644
--- a/hw/pcnet.h
+++ b/hw/pcnet.h
@@ -1,3 +1,6 @@
+#ifndef HW_PCNET_H
+#define HW_PCNET_H 1
+
#define PCNET_IOPORT_SIZE 0x20
#define PCNET_PNPMMIO_SIZE 0x20
@@ -63,3 +66,5 @@ void pcnet_set_link_status(NetClientState *nc);
void pcnet_common_cleanup(PCNetState *d);
int pcnet_common_init(DeviceState *dev, PCNetState *s, NetClientInfo *info);
extern const VMStateDescription vmstate_pcnet;
+
+#endif