aboutsummaryrefslogtreecommitdiff
path: root/hw/flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/flash.h')
-rw-r--r--hw/flash.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/flash.h b/hw/flash.h
index d790f3c..bda2158 100644
--- a/hw/flash.h
+++ b/hw/flash.h
@@ -1,3 +1,6 @@
+#ifndef HW_FLASH_H
+#define HW_FLASH_H 1
+
/* NOR flash devices */
#include "memory.h"
@@ -57,3 +60,5 @@ typedef struct {
uint8_t ecc_digest(ECCState *s, uint8_t sample);
void ecc_reset(ECCState *s);
extern VMStateDescription vmstate_ecc_state;
+
+#endif