From f4002f076e8eddaf56745fe90f8a3ebc2c25eac8 Mon Sep 17 00:00:00 2001 From: Steel Titanium <steeltitanium1@gmail.com> Date: Tue, 7 Apr 2020 19:14:27 -0400 Subject: [PATCH] Fix even more build errors --- debian-template/control | 1 + src/d_clisrv.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/debian-template/control b/debian-template/control index 6614d3159..4db1d8752 100644 --- a/debian-template/control +++ b/debian-template/control @@ -25,6 +25,7 @@ Depends: ${SHLIBS_DEPENDS}, ${MISC_DEPENDS}, libsdl2-mixer-2.0-0, zlib1g, libgme0, + libcurl4, libpng | libpng16-16 | libpng12-0 Description: A cross-platform 3D Sonic fangame Sonic Robo Blast 2 is a 3D open-source Sonic the Hedgehog diff --git a/src/d_clisrv.c b/src/d_clisrv.c index c93f6e29a..6988188fe 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -1354,7 +1354,9 @@ static boolean CL_SendJoin(void) static void SV_SendServerInfo(INT32 node, tic_t servertime) { UINT8 *p; +#ifdef HAVE_CURL size_t mirror_length; +#endif netbuffer->packettype = PT_SERVERINFO; netbuffer->u.serverinfo.version = VERSION; -- GitLab