sim: fully merge sim_state_base into sim_state
[deliverable/binutils-gdb.git] / sim / common / sim-reason.c
index a2bcccdd901fa595da18578b3880f100bd6d9dff..73a57654c246d8749780dbcf4e6ab360d240a812 100644 (file)
@@ -1,5 +1,5 @@
 /* Generic simulator stop_reason.
-   Copyright (C) 1997-2013 Free Software Foundation, Inc.
+   Copyright (C) 1997-2021 Free Software Foundation, Inc.
    Contributed by Cygnus Support.
 
 This file is part of GDB, the GNU debugger.
@@ -17,9 +17,14 @@ GNU General Public License for more details.
 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"
+
 #include "sim-main.h"
 #include "sim-assert.h"
 
+#include <stdlib.h>
+
 /* Generic implementation of sim_stop_reason */
 
 void
This page took 0.02331 seconds and 4 git commands to generate.