summaryrefslogtreecommitdiff
path: root/hw/esp.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/esp.h')
-rw-r--r--hw/esp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/esp.h b/hw/esp.h
index 369998f838..190bc2e268 100644
--- a/hw/esp.h
+++ b/hw/esp.h
@@ -1,3 +1,6 @@
+#ifndef QEMU_HW_ESP_H
+#define QEMU_HW_ESP_H
+
/* esp.c */
#define ESP_MAX_DEVS 7
typedef void (*espdma_memory_read_write)(void *opaque, uint8_t *buf, int len);
@@ -5,3 +8,5 @@ void esp_init(target_phys_addr_t espaddr, int it_shift,
espdma_memory_read_write dma_memory_read,
espdma_memory_read_write dma_memory_write,
void *dma_opaque, qemu_irq irq, qemu_irq *reset);
+
+#endif