---
 hw/smbus.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/hw/smbus.h b/hw/smbus.h
index fa9088a..7fa63f9 100644
--- a/hw/smbus.h
+++ b/hw/smbus.h
@@ -1,3 +1,6 @@
+#ifndef QEMU_SMBUS_H
+#define QEMU_SMBUS_H
+
 /*
  * QEMU SMBus API
  *
@@ -79,3 +82,5 @@ void smbus_write_block(i2c_bus *bus, uint8_t addr, uint8_t 
command, uint8_t *dat
 
 void smbus_eeprom_init(i2c_bus *smbus, int nb_eeprom,
                        const uint8_t *eeprom_spd, int size);
+
+#endif
-- 
1.7.4.1


Reply via email to