From 262c692dca703f7e08781a664e154f45b28e34a1 Mon Sep 17 00:00:00 2001 From: nishi Date: Thu, 28 Mar 2024 14:57:55 +0000 Subject: [PATCH] fixing freebsd support, thanks ykm_izuru git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@266 d27a3e52-49c5-7645-884c-6793ebffc270 --- Library/DNS.c | 4 ++++ W3Version.h.m4 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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', `') -- 2.43.0