From: nishi Date: Thu, 28 Mar 2024 14:57:55 +0000 (+0000) Subject: fixing freebsd support, thanks ykm_izuru X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=262c692dca703f7e08781a664e154f45b28e34a1;p=libw3.git fixing freebsd support, thanks ykm_izuru git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@266 d27a3e52-49c5-7645-884c-6793ebffc270 --- diff --git a/Library/DNS.c b/Library/DNS.c index 9da693d..fca0e63 100644 --- a/Library/DNS.c +++ b/Library/DNS.c @@ -31,6 +31,10 @@ #define ADDRINFO struct addrinfo #endif +#ifdef __FreeBSD__ +#include +#endif + int __W3_DNS_Connect(const char* hostname, bool ssl, uint16_t port #ifdef SSL_SUPPORT , diff --git a/W3Version.h.m4 b/W3Version.h.m4 index fc9644e..677ac9d 100644 --- a/W3Version.h.m4 +++ b/W3Version.h.m4 @@ -6,7 +6,7 @@ extern "C" { #endif -#define LIBW3_VERSION "2.21" \ +#define LIBW3_VERSION "2.21A" \ SUFFIX ifdef(`HTTP_SUPPORT', `#define LIBW3_HTTP_SUPPORT', `')