aboutsummaryrefslogtreecommitdiff
path: root/hw/etraxfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/etraxfs.h')
-rw-r--r--hw/etraxfs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/etraxfs.h b/hw/etraxfs.h
index bc60713633..cc1d7a17a0 100644
--- a/hw/etraxfs.h
+++ b/hw/etraxfs.h
@@ -22,6 +22,9 @@
* THE SOFTWARE.
*/
+#ifndef HW_EXTRAXFS_H
+#define HW_EXTRAXFS_H 1
+
#include "net/net.h"
#include "etraxfs_dma.h"
@@ -44,3 +47,5 @@ etraxfs_eth_init(NICInfo *nd, hwaddr base, int phyaddr,
sysbus_mmio_map(sysbus_from_qdev(dev), 0, base);
return dev;
}
+
+#endif