From: norbert.bizet Date: Thu, 19 Jan 2023 15:37:33 +0000 (-0500) Subject: win32: Fix org#2667 enable sockaddress_storage for windows X-Git-Tag: Release-13.0.2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edd11f9b38eff5ed22094b68f5c253bc333f6192;p=thirdparty%2Fbacula.git win32: Fix org#2667 enable sockaddress_storage for windows --- diff --git a/bacula/src/win32/compat/mingwconfig.h b/bacula/src/win32/compat/mingwconfig.h index 02444294c..251fdbfbd 100644 --- a/bacula/src/win32/compat/mingwconfig.h +++ b/bacula/src/win32/compat/mingwconfig.h @@ -436,6 +436,9 @@ /* Whether to enable IPv6 support */ #define HAVE_IPV6 1 +/* Use sockaddr_storage */ +#define HAVE_SOCKADDR_STORAGE 1 + /* Set the default configuration file */ #undef SYSCONFDIR #define SYSCONFDIR "C:/Program Files/Bacula"