summaryrefslogtreecommitdiff
path: root/hw/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/serial.h')
-rw-r--r--hw/serial.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/serial.h b/hw/serial.h
index ed1a5cd43e..2d7d614e09 100644
--- a/hw/serial.h
+++ b/hw/serial.h
@@ -22,6 +22,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#ifndef HW_SERIAL_H
+#define HW_SERIAL_H 1
#include "hw.h"
#include "sysemu.h"
@@ -97,3 +99,5 @@ SerialState *serial_mm_init(MemoryRegion *address_space,
/* serial-isa.c */
bool serial_isa_init(ISABus *bus, int index, CharDriverState *chr);
+
+#endif