From 5969bfb915b02b57e7935ece7d7a7326dc377a8a Mon Sep 17 00:00:00 2001 From: Simon Gellis Date: Sat, 26 Oct 2024 12:46:26 -0400 Subject: [PATCH] Make it still compile on msys2 --- graphics.c | 1 + makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/graphics.c b/graphics.c index 28fae0b..490c8a4 100644 --- a/graphics.c +++ b/graphics.c @@ -1,4 +1,5 @@ #include +#include #define WINDOW_WIDTH 1536 #define WINDOW_HEIGHT 896 diff --git a/makefile b/makefile index 7992707..31a92ea 100644 --- a/makefile +++ b/makefile @@ -28,7 +28,7 @@ output/%.o: %.c @mkdir -p output @$(CC) -c -o $@ $< -I . \ -I shrooms-vb-core/core $(SDL2FLAGS) \ - -O3 -flto=auto -fno-strict-aliasing \ + -O3 -flto=auto -Wno-long-long \ -Werror -std=c90 -Wall -Wextra -Wpedantic output/vb.o: shrooms-vb-core/core/vb.c