aboutsummaryrefslogtreecommitdiff
path: root/sim/or1k/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/or1k/traps.c')
-rw-r--r--sim/or1k/traps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/or1k/traps.c b/sim/or1k/traps.c
index 0a0f1aa..7f5a38f 100644
--- a/sim/or1k/traps.c
+++ b/sim/or1k/traps.c
@@ -16,6 +16,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+/* This must come before any other includes. */
+#include "defs.h"
+
#define WANT_CPU_OR1K32BF
#define WANT_CPU