diff --git a/include/emulator.hpp b/include/emulator.hpp index b508338e..0e03bbba 100644 --- a/include/emulator.hpp +++ b/include/emulator.hpp @@ -61,7 +61,7 @@ class Emulator { #ifdef PANDA3DS_ENABLE_HTTP_SERVER HttpServer httpServer; - friend class HttpServer; + friend struct HttpServer; #endif // Keep the handle for the ROM here to reload when necessary and to prevent deleting it diff --git a/include/httpserver.hpp b/include/httpserver.hpp index 82aee2a4..3bb26e2f 100644 --- a/include/httpserver.hpp +++ b/include/httpserver.hpp @@ -18,7 +18,7 @@ enum class HttpActionType { None, Screenshot, Key, TogglePause, Reset, LoadRom } class Emulator; namespace httplib { class Server; - class Response; + struct Response; } // Wrapper for httplib::Response that allows the HTTP server to wait for the response to be ready