summaryrefslogtreecommitdiff
path: root/ecp/src
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-02-02 08:14:56 +0100
committerUros Majstorovic <majstor@majstor.org>2022-02-02 08:14:56 +0100
commitd359dd9981f4137e8873a7a571e5c54c5b2449c4 (patch)
treeabfe99bcbce4324c71bd03f68581bdd605d13ec9 /ecp/src
parente215377e5b1440f8ec0842712f2e559e82de2f03 (diff)
linux and freebsd compatibility
Diffstat (limited to 'ecp/src')
-rw-r--r--ecp/src/platform/posix/transport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ecp/src/platform/posix/transport.c b/ecp/src/platform/posix/transport.c
index 2032ce2..c41f0df 100644
--- a/ecp/src/platform/posix/transport.c
+++ b/ecp/src/platform/posix/transport.c
@@ -1,5 +1,6 @@
#include <stdlib.h>
#include <unistd.h>
+#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <poll.h>