From 132497d96261b3d39cffdabebd5435e76f0392fe Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Tue, 17 May 2022 09:27:40 -0700 Subject: [PATCH] Fix error: Undefined structure 'in_addr' in Borland builds sbbsctrl build failed, it needs another winsock header. <sigh> Oh what a rabbit hole this has been. --- src/xpdev/netwrap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xpdev/netwrap.h b/src/xpdev/netwrap.h index 70ddcdc95a..5ed25ebdf4 100644 --- a/src/xpdev/netwrap.h +++ b/src/xpdev/netwrap.h @@ -27,6 +27,7 @@ #include "wrapdll.h" #if defined(_WIN32) + #include <winsock2.h> #include <ws2tcpip.h> // struct in6_addr #endif -- GitLab