From: "Alexander V. Tikhonov" <avtikhon@tarantool.org> To: Alexander Turenko <alexander.turenko@tarantool.org> Cc: "Alexander V. Tikhonov" <avtikhon@tarantool.org>, tarantool-patches@freelists.org Subject: [tarantool-patches] [PATCH v2] Fix FreeBSD build Date: Wed, 5 Jun 2019 15:10:18 +0300 [thread overview] Message-ID: <eb1adf13d2178e06022e88fe282034360ae896a6.1559736580.git.avtikhon@tarantool.org> (raw) Fixed swim headers in addition to commit: 88892f13a3934c72721e6240bfa5fe174d62d99b ('swim: fix build on FreeBSD') Included unistd.h header to fix the following errors: In file included from src/lib/swim/swim_transport_udp.c:31: src/lib/swim/swim_transport.h:61:1: error: unknown type name 'ssize_t'; did you mean 'size_t'? ssize_t ^~~~~~~ size_t /usr/include/netinet6/in6.h:698:18: note: 'size_t' declared here typedef __size_t size_t; ^ In file included from src/lib/swim/swim_transport_udp.c:31: src/lib/swim/swim_transport.h:66:1: error: unknown type name 'ssize_t'; did you mean 'size_t'? ssize_t ^~~~~~~ size_t /usr/include/netinet6/in6.h:698:18: note: 'size_t' declared here typedef __size_t size_t; Closes #4050 --- Github: https://github.com/tarantool/tarantool/tree/avtikhon/freebsd-fix-build Issue: https://github.com/tarantool/tarantool/issues/4050 src/lib/swim/swim_transport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/swim/swim_transport.h b/src/lib/swim/swim_transport.h index c4e48cdeb..31fd9af59 100644 --- a/src/lib/swim/swim_transport.h +++ b/src/lib/swim/swim_transport.h @@ -32,6 +32,7 @@ */ #include <netinet/in.h> #include <arpa/inet.h> +#include <unistd.h> struct ifaddrs; -- 2.17.1
next reply other threads:[~2019-06-05 12:10 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-06-05 12:10 Alexander V. Tikhonov [this message] 2019-06-07 2:31 ` [tarantool-patches] " Alexander Turenko 2019-06-07 5:26 ` Kirill Yukhin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=eb1adf13d2178e06022e88fe282034360ae896a6.1559736580.git.avtikhon@tarantool.org \ --to=avtikhon@tarantool.org \ --cc=alexander.turenko@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [tarantool-patches] [PATCH v2] Fix FreeBSD build' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox