summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emucore.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2015-03-20 23:48:11 +1100
committer Vas Crabb <vas@vastheman.com>2015-03-20 23:48:11 +1100
commit4282a7c9f201b957b34f2142746b939e02ead0a9 (patch)
treec5fcf822779e7f1407530c28137056e469d6de23 /src/emu/emucore.h
parent5ffe5ce5513a51e7be74a0af90556bc2fa1aab5a (diff)
If you're planning to redefine something, you should #include the definition you plan to walk over
Diffstat (limited to 'src/emu/emucore.h')
-rw-r--r--src/emu/emucore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/emucore.h b/src/emu/emucore.h
index cb2de93caee..0f89ae59f50 100644
--- a/src/emu/emucore.h
+++ b/src/emu/emucore.h
@@ -15,6 +15,7 @@
#define __EMUCORE_H__
// standard C includes
+#include <assert.h> // make sure this is included before we try redefining assert
#include <math.h>
#include <stdio.h>
#include <string.h>