aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-io.c')
-rw-r--r--sim/common/sim-io.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/sim/common/sim-io.c b/sim/common/sim-io.c
index 9fdc79e..5a47f65 100644
--- a/sim/common/sim-io.c
+++ b/sim/common/sim-io.c
@@ -22,20 +22,18 @@
/* This must come before any other includes. */
#include "defs.h"
-#include "sim-main.h"
-#include "sim-io.h"
-#include "sim/callback.h"
-
#include <errno.h>
#if HAVE_FCNTL_H
#include <fcntl.h>
#endif
-
+#include <stdlib.h>
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
-#include <stdlib.h>
+#include "sim-main.h"
+#include "sim-io.h"
+#include "sim/callback.h"
#undef open