aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-engine.c')
-rw-r--r--sim/common/sim-engine.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sim/common/sim-engine.c b/sim/common/sim-engine.c
index f9961f8..d6e091d 100644
--- a/sim/common/sim-engine.c
+++ b/sim/common/sim-engine.c
@@ -17,11 +17,12 @@ 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/>. */
-#include <stdio.h>
-
#include "sim-main.h"
#include "sim-assert.h"
+#include <stdio.h>
+#include <stdlib.h>
+
/* Get the run state.
REASON/SIGRC are the values returned by sim_stop_reason.
??? Should each cpu have its own copy? */