1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

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.
This commit is contained in:
Misa 2021-02-27 10:44:01 -08:00 committed by Ethan Lee
parent 9997b28757
commit 758d201296

View file

@ -1,6 +1,7 @@
#include "Screen.h" #include "Screen.h"
#include <stdlib.h> #include <SDL.h>
#include <stdio.h>
#include "FileSystemUtils.h" #include "FileSystemUtils.h"
#include "GraphicsUtil.h" #include "GraphicsUtil.h"