aboutsummaryrefslogtreecommitdiff
path: root/hw/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/serial.h')
-rw-r--r--hw/serial.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/hw/serial.h b/hw/serial.h
index ed1a5cd43e..98ee4241be 100644
--- a/hw/serial.h
+++ b/hw/serial.h
@@ -22,10 +22,12 @@
* 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"
-#include "memory.h"
+#include "sysemu/sysemu.h"
+#include "exec/memory.h"
#define UART_FIFO_LENGTH 16 /* 16550A Fifo Length */
@@ -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