summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m68000/m68kcpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m68000/m68kcpu.h')
-rw-r--r--src/devices/cpu/m68000/m68kcpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/m68000/m68kcpu.h b/src/devices/cpu/m68000/m68kcpu.h
index 753e7b3a952..0326c0f4bd1 100644
--- a/src/devices/cpu/m68000/m68kcpu.h
+++ b/src/devices/cpu/m68000/m68kcpu.h
@@ -17,11 +17,11 @@
#pragma once
-#include <limits.h>
-
#if defined(__sun__) && defined(__svr4__)
#undef REG_SP
#undef REG_PC
+#else
+#include <limits.h>
#endif
/* ======================================================================== */