From 8b316f869b3ede2ab1b4da2c0656525a59714cae Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Thu, 9 Sep 2021 23:51:26 +0600 Subject: [PATCH] Include SDL.h before anything else This also cleans up the unnecessary source-level defines --- src/unix/unix.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/unix/unix.c b/src/unix/unix.c index ec71dee84..93d3ede73 100644 --- a/src/unix/unix.c +++ b/src/unix/unix.c @@ -2,10 +2,7 @@ #define _FILE_OFFSET_BITS 64 #define _LARGEFILE64_SOURCE 1 #endif -#define _POSIX_C_SOURCE 200809L -#ifdef __APPLE__ -#define _DARWIN_C_SOURCE 1 -#endif +#include #include #include #include @@ -20,7 +17,7 @@ #include #include #include -#include + #include <86box/86box.h> #include <86box/keyboard.h> #include <86box/mouse.h>