aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ahoy/emulator.c3
-rw-r--r--src/ahoy/emulator.h2
-rw-r--r--src/ahoy/gui.c2
-rw-r--r--src/ahoy/main.c5
4 files changed, 5 insertions, 7 deletions
diff --git a/src/ahoy/emulator.c b/src/ahoy/emulator.c
index 92f3a1c..00a87ff 100644
--- a/src/ahoy/emulator.c
+++ b/src/ahoy/emulator.c
@@ -1,15 +1,12 @@
#include <stdint.h>
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include <unistd.h>
#include <mbstring.h>
#include "cerr.h"
#include "emulator.h"
-#include "gui.h"
#include "macros.h"
#define MEM_RESERVED 0x200
diff --git a/src/ahoy/emulator.h b/src/ahoy/emulator.h
index 56b5545..a9c4398 100644
--- a/src/ahoy/emulator.h
+++ b/src/ahoy/emulator.h
@@ -1,6 +1,8 @@
#ifndef AHOY_AHOY_EMULATOR_H
#define AHOY_AHOY_EMULATOR_H
+#include <stdint.h>
+
#include <mbstring.h>
/* Uppercase variables represent registers. The following registers exist:
diff --git a/src/ahoy/gui.c b/src/ahoy/gui.c
index ea00b4a..b50e388 100644
--- a/src/ahoy/gui.c
+++ b/src/ahoy/gui.c
@@ -2,7 +2,7 @@
#include <stddef.h>
#include <stdint.h>
-#include <SDL2/SDL.h>
+#include <SDL.h>
#include "cerr.h"
#include "emulator.h"
diff --git a/src/ahoy/main.c b/src/ahoy/main.c
index 69a7946..a293fce 100644
--- a/src/ahoy/main.c
+++ b/src/ahoy/main.c
@@ -2,19 +2,18 @@
#include <fcntl.h>
#include <getopt.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <unistd.h>
#include <builder.h>
-#include <SDL2/SDL.h>
+#include <SDL.h>
#include "cerr.h"
#include "emulator.h"
#include "gui.h"
#include "macros.h"
-#include "SDL_timer.h"
#define FPS 60
#define INSTS_PER_SEC 700