sim: namespace sim_machs
[deliverable/binutils-gdb.git] / sim / common / genmloop.sh
index 449e034410b4357e650305ba77c547cc5df1fb83..fa4e7b90a516ba17bfb2da9ffb8ad3d3b4f5205e 100755 (executable)
@@ -1,5 +1,5 @@
 # Generate the main loop of the simulator.
-# Copyright (C) 1996-2019 Free Software Foundation, Inc.
+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
 # Contributed by Cygnus Support.
 #
 # This file is part of the GNU simulators.
@@ -301,6 +301,9 @@ exec 1>tmp-mloop-$$.cin
 cat << EOF
 /* This file is generated by the genmloop script.  DO NOT EDIT! */
 
+/* This must come before any other includes.  */
+#include "defs.h"
+
 /* Enable switch() support in cgen headers.  */
 #define SEM_IN_SWITCH
 
This page took 0.024081 seconds and 4 git commands to generate.