From 758d2012962e3a64917e112d45f0ee096984c9f4 Mon Sep 17 00:00:00 2001 From: Misa Date: Sat, 27 Feb 2021 10:44:01 -0800 Subject: [PATCH] Fix transitive includes in Screen.cpp Screen.cpp wasn't explicitly including SDL.h, instead relying on Screen.h to include it. It was also relying on SDL.h to include stdio.h on Linux, which breaks because SDL.h doesn't include stdio.h on Windows. So stdio.h is now explicitly included as well. stdlib.h is not used in this file. --- desktop_version/src/Screen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop_version/src/Screen.cpp b/desktop_version/src/Screen.cpp index 9dc9f6b0..13c9b315 100644 --- a/desktop_version/src/Screen.cpp +++ b/desktop_version/src/Screen.cpp @@ -1,6 +1,7 @@ #include "Screen.h" -#include +#include +#include #include "FileSystemUtils.h" #include "GraphicsUtil.h"