From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 0D5092F2D5 for ; Wed, 5 Jun 2019 08:10:22 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dTMdfSG5sPY3 for ; Wed, 5 Jun 2019 08:10:21 -0400 (EDT) Received: from smtp31.i.mail.ru (smtp31.i.mail.ru [94.100.177.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id C43BF2F253 for ; Wed, 5 Jun 2019 08:10:21 -0400 (EDT) From: "Alexander V. Tikhonov" Subject: [tarantool-patches] [PATCH v2] Fix FreeBSD build Date: Wed, 5 Jun 2019 15:10:18 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: Alexander Turenko Cc: "Alexander V. Tikhonov" , tarantool-patches@freelists.org 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 #include +#include struct ifaddrs; -- 2.17.1