--- a/client/main.c Sun Dec 07 10:02:27 2025 +0100 +++ b/client/main.c Sun Dec 07 10:41:04 2025 +0100 @@ -26,6 +26,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include "main.h" + #ifndef _WIN32 #include <stdio.h> @@ -207,7 +209,8 @@ #else -int main(int argc, char **argv) { + +int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { return 0; }