summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/rs232
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2017-02-11 18:23:11 +0100
committer Olivier Galibert <galibert@pobox.com>2017-02-11 18:31:20 +0100
commita2557f1b02478c5aaa1fdfa00204ac2e219319a1 (patch)
tree6f1693d59aa53be8c76ffe3bcf7fbc72f8546453 /src/devices/bus/rs232
parentc49b631153be9efc3a7e7b6172c17f5418843c0b (diff)
Remove emu.h from headers (nw)
Per Vas' request. If the compile fails for you (i'm thinking osx and windows native debuggers here in particular), add '#include "emu.h"' as first include of the cpp files that fail. Due to our use of precompilation and forced inclusion, emu.h must be included as the very first non-comment thing we do if we want to be sure msvc compiles are identical to gcc/clang ones. Doing it directly instead of through an include increases the correctness probability by a magnitude.
Diffstat (limited to 'src/devices/bus/rs232')
-rw-r--r--src/devices/bus/rs232/keyboard.cpp1
-rw-r--r--src/devices/bus/rs232/loopback.cpp1
-rw-r--r--src/devices/bus/rs232/null_modem.cpp1
-rw-r--r--src/devices/bus/rs232/printer.cpp1
-rw-r--r--src/devices/bus/rs232/pty.cpp1
-rw-r--r--src/devices/bus/rs232/rs232.cpp1
-rw-r--r--src/devices/bus/rs232/rs232.h1
-rw-r--r--src/devices/bus/rs232/ser_mouse.cpp1
-rw-r--r--src/devices/bus/rs232/sun_kbd.cpp1
-rw-r--r--src/devices/bus/rs232/terminal.cpp1
-rw-r--r--src/devices/bus/rs232/xvd701.cpp1
11 files changed, 10 insertions, 1 deletions
diff --git a/src/devices/bus/rs232/keyboard.cpp b/src/devices/bus/rs232/keyboard.cpp
index 51ce4e9eb79..1f78880a9b2 100644
--- a/src/devices/bus/rs232/keyboard.cpp
+++ b/src/devices/bus/rs232/keyboard.cpp
@@ -1,5 +1,6 @@
// license:BSD-3-Clause
// copyright-holders:smf
+#include "emu.h"
#include "keyboard.h"
namespace {
diff --git a/src/devices/bus/rs232/loopback.cpp b/src/devices/bus/rs232/loopback.cpp
index 83668f8c362..01ef229be4b 100644
--- a/src/devices/bus/rs232/loopback.cpp
+++ b/src/devices/bus/rs232/loopback.cpp
@@ -1,6 +1,7 @@
// license:BSD-3-Clause
// copyright-holders:smf
+#include "emu.h"
#include "loopback.h"
const device_type RS232_LOOPBACK = &device_creator<rs232_loopback_device>;
diff --git a/src/devices/bus/rs232/null_modem.cpp b/src/devices/bus/rs232/null_modem.cpp
index 846292d7690..30b5732a72d 100644
--- a/src/devices/bus/rs232/null_modem.cpp
+++ b/src/devices/bus/rs232/null_modem.cpp
@@ -1,5 +1,6 @@
// license:BSD-3-Clause
// copyright-holders:smf,Carl
+#include "emu.h"
#include "null_modem.h"
null_modem_device::null_modem_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
diff --git a/src/devices/bus/rs232/printer.cpp b/src/devices/bus/rs232/printer.cpp
index b75d028b81b..440cab877ec 100644
--- a/src/devices/bus/rs232/printer.cpp
+++ b/src/devices/bus/rs232/printer.cpp
@@ -1,5 +1,6 @@
// license:BSD-3-Clause
// copyright-holders:smf
+#include "emu.h"
#include "printer.h"
serial_printer_device::serial_printer_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
diff --git a/src/devices/bus/rs232/pty.cpp b/src/devices/bus/rs232/pty.cpp
index 297870d4e30..a7f343bec56 100644
--- a/src/devices/bus/rs232/pty.cpp
+++ b/src/devices/bus/rs232/pty.cpp
@@ -1,6 +1,7 @@
// license:BSD-3-Clause
// copyright-holders:F. Ulivi
//
+#include "emu.h"
#include <stdio.h>
#include "pty.h"
diff --git a/src/devices/bus/rs232/rs232.cpp b/src/devices/bus/rs232/rs232.cpp
index 458f97ca865..44dfb5481bf 100644
--- a/src/devices/bus/rs232/rs232.cpp
+++ b/src/devices/bus/rs232/rs232.cpp
@@ -1,5 +1,6 @@
// license:BSD-3-Clause
// copyright-holders:smf
+#include "emu.h"
#include "rs232.h"
const device_type RS232_PORT = &device_creator<rs232_port_device>;
diff --git a/src/devices/bus/rs232/rs232.h b/src/devices/bus/rs232/rs232.h
index a77e022f7dc..caaa0606b20 100644
--- a/src/devices/bus/rs232/rs232.h
+++ b/src/devices/bus/rs232/rs232.h
@@ -5,7 +5,6 @@
#pragma once
-#include "emu.h"
#define MCFG_RS232_PORT_ADD(_tag, _slot_intf, _def_slot) \
MCFG_DEVICE_ADD(_tag, RS232_PORT, 0) \
diff --git a/src/devices/bus/rs232/ser_mouse.cpp b/src/devices/bus/rs232/ser_mouse.cpp
index e4c322ed204..c7c316231a3 100644
--- a/src/devices/bus/rs232/ser_mouse.cpp
+++ b/src/devices/bus/rs232/ser_mouse.cpp
@@ -8,6 +8,7 @@
***************************************************************************/
+#include "emu.h"
#include "ser_mouse.h"
diff --git a/src/devices/bus/rs232/sun_kbd.cpp b/src/devices/bus/rs232/sun_kbd.cpp
index 169732db04b..cb1ac3290e4 100644
--- a/src/devices/bus/rs232/sun_kbd.cpp
+++ b/src/devices/bus/rs232/sun_kbd.cpp
@@ -1,3 +1,4 @@
+#include "emu.h"
#include "sun_kbd.h"
diff --git a/src/devices/bus/rs232/terminal.cpp b/src/devices/bus/rs232/terminal.cpp
index d4e0911825e..47fae4f6d66 100644
--- a/src/devices/bus/rs232/terminal.cpp
+++ b/src/devices/bus/rs232/terminal.cpp
@@ -1,5 +1,6 @@
// license:BSD-3-Clause
// copyright-holders:smf
+#include "emu.h"
#include "terminal.h"
serial_terminal_device::serial_terminal_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
diff --git a/src/devices/bus/rs232/xvd701.cpp b/src/devices/bus/rs232/xvd701.cpp
index 0022f3cc135..a2693808213 100644
--- a/src/devices/bus/rs232/xvd701.cpp
+++ b/src/devices/bus/rs232/xvd701.cpp
@@ -1,5 +1,6 @@
// license:BSD-3-Clause
// copyright-holders:smf
+#include "emu.h"
#include "xvd701.h"
jvc_xvd701_device::jvc_xvd701_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)