diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-02-16 01:17:37 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-02-16 01:17:37 +0100 |
commit | e5cbec2ebf31c414b7fe21ccc85357aa5d8acf54 (patch) | |
tree | 0b7c101c50961ea826873d01775f5a688988a134 /src | |
parent | 4fb0a9935eae14130b56e443d0c58329ac44be41 (diff) |
Sort out includes
Diffstat (limited to 'src')
-rw-r--r-- | src/ahoy/emulator.c | 3 | ||||
-rw-r--r-- | src/ahoy/emulator.h | 2 | ||||
-rw-r--r-- | src/ahoy/gui.c | 2 | ||||
-rw-r--r-- | src/ahoy/main.c | 5 |
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 |