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? */