From 5e14b3f8123f8b950917ae46748dd655c723b09f Mon Sep 17 00:00:00 2001 From: Rinnegatamante Date: Fri, 25 Jun 2021 20:42:40 +0200 Subject: [PATCH] Fix compilation with latest vitaGL. --- src/base.cpp | 1 + src/geometry.cpp | 1 + src/image.cpp | 1 + src/lodepng/lodepng.cpp | 2 +- src/pipeline.cpp | 1 + src/png.cpp | 1 + src/tristrip.cpp | 1 + src/userdata.cpp | 1 + 8 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/base.cpp b/src/base.cpp index c7cd16d..f81050b 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -19,6 +19,7 @@ #include "rwobjects.h" #include "rwengine.h" +#include #include extern "C"{ #include diff --git a/src/geometry.cpp b/src/geometry.cpp index 8271c85..e1cb50b 100644 --- a/src/geometry.cpp +++ b/src/geometry.cpp @@ -11,6 +11,7 @@ #include "rwobjects.h" #include "rwengine.h" +#include #include #define PLUGIN_ID ID_GEOMETRY diff --git a/src/image.cpp b/src/image.cpp index 4776909..6c97ab8 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -17,6 +17,7 @@ #define PLUGIN_ID ID_IMAGE +#include #include namespace rw { diff --git a/src/lodepng/lodepng.cpp b/src/lodepng/lodepng.cpp index 7c9a834..e21afdb 100644 --- a/src/lodepng/lodepng.cpp +++ b/src/lodepng/lodepng.cpp @@ -27,7 +27,7 @@ freely, subject to the following restrictions: The manual and changelog are in the header file "lodepng.h" Rename this file to lodepng.cpp to use it for C++, or to lodepng.c to use it for C. */ - +#include #include #include "lodepng.h" diff --git a/src/pipeline.cpp b/src/pipeline.cpp index 88667b9..3464df3 100644 --- a/src/pipeline.cpp +++ b/src/pipeline.cpp @@ -9,6 +9,7 @@ #include "rwobjects.h" #include "rwengine.h" +#include #include #define COLOR_ARGB(a,r,g,b) \ diff --git a/src/png.cpp b/src/png.cpp index acb471f..c653e41 100644 --- a/src/png.cpp +++ b/src/png.cpp @@ -12,6 +12,7 @@ #include "lodepng/lodepng.h" +#include #include #ifdef _WIN32 diff --git a/src/tristrip.cpp b/src/tristrip.cpp index 4a82263..b050b1d 100644 --- a/src/tristrip.cpp +++ b/src/tristrip.cpp @@ -11,6 +11,7 @@ #include "rwobjects.h" #include "rwengine.h" +#include #include #define PLUGIN_ID 2 diff --git a/src/userdata.cpp b/src/userdata.cpp index 3afe6da..ea59255 100644 --- a/src/userdata.cpp +++ b/src/userdata.cpp @@ -11,6 +11,7 @@ #include "rwengine.h" #include "rwuserdata.h" +#include #include #define PLUGIN_ID ID_USERDATA