Skip to content
Snippets Groups Projects
Commit 88892f13 authored by Vladislav Shpilevoy's avatar Vladislav Shpilevoy
Browse files

swim: fix build on FreeBSD

Close #4050
parent f94cc5d8
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@
#include "tarantool_ev.h"
#include <stdbool.h>
#include <arpa/inet.h>
#include <netinet/in.h>
/**
* SWIM protocol transport level.
......
......@@ -33,6 +33,7 @@
#include "say.h"
#include "version.h"
#include "diag.h"
#include <sys/socket.h> /* AF_INET for FreeBSD. */
const char *swim_member_status_strs[] = {
"alive",
......
......@@ -33,6 +33,8 @@
#include "trivia/util.h"
#include "uuid/tt_uuid.h"
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <stdbool.h>
/**
......
......@@ -31,6 +31,7 @@
* SUCH DAMAGE.
*/
#include "trivia/util.h"
#include <netinet/in.h>
#include <arpa/inet.h>
/** Transport implementation. */
......
......@@ -33,6 +33,7 @@
#include "swim/swim_io.h"
#include "fiber.h"
#include <errno.h>
#include <sys/socket.h>
enum {
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment