]> Nishi Git Mirror - libw3.git/commitdiff
fixing freebsd support, thanks ykm_izuru
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Thu, 28 Mar 2024 14:57:55 +0000 (14:57 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Thu, 28 Mar 2024 14:57:55 +0000 (14:57 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@266 d27a3e52-49c5-7645-884c-6793ebffc270

Library/DNS.c
W3Version.h.m4

index 9da693d4e5da2933f4245e12c311b68acc702743..fca0e63394b686d8e71034bd5b786be7e82be6a9 100644 (file)
 #define ADDRINFO struct addrinfo
 #endif
 
+#ifdef __FreeBSD__
+#include <netinet/in.h>
+#endif
+
 int __W3_DNS_Connect(const char* hostname, bool ssl, uint16_t port
 #ifdef SSL_SUPPORT
                     ,
index fc9644eb89dee86d69be735e97506538fee7d1dd..677ac9d8755b217afda23edc378b44cdc84202bd 100644 (file)
@@ -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', `')