aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m32c/syscalls.c')
-rw-r--r--sim/m32c/syscalls.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sim/m32c/syscalls.c b/sim/m32c/syscalls.c
index e940084..e8d9d2e 100644
--- a/sim/m32c/syscalls.c
+++ b/sim/m32c/syscalls.c
@@ -18,7 +18,9 @@ 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 "config.h"
+/* This must come before any other includes. */
+#include "defs.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>