diff --git a/src/filesystem.h b/src/filesystem.h index fc9a3c9..09d182c 100644 --- a/src/filesystem.h +++ b/src/filesystem.h @@ -22,7 +22,7 @@ #ifndef FILESYSTEM_H #define FILESYSTEM_H -#include +#include struct FileSystemPrivate; class SharedFontState; @@ -52,14 +52,14 @@ public: * After this function returns, ops becomes invalid, so don't take * references to it. Instead, copy the structure without closing * if you need to further read from it later. */ - virtual bool tryRead(SDL_RWops &ops, const char *ext) = 0; + virtual bool tryRead(SDL_IOStream &ops, const char *ext) = 0; }; void openRead(OpenHandler &handler, const char *filename); /* Circumvents extension supplementing */ - void openReadRaw(SDL_RWops &ops, + void openReadRaw(SDL_IOStream &ops, const char *filename, bool freeOnClose = false); diff --git a/src/font.cpp b/src/font.cpp index 36d1210..c40b3cf 100644 --- a/src/font.cpp +++ b/src/font.cpp @@ -31,7 +31,7 @@ #include #include -#include +#include typedef std::pair FontKey;