From b77810d07984f6586529b60e0b1e4238b639e488 Mon Sep 17 00:00:00 2001 From: bptato Date: Fri, 12 Apr 2024 00:35:42 +0200 Subject: bind_unix, connect_unix: add string.h include it's needed for memcpy; it usually compiles without the include, but that's not guaranteed. --- src/io/bind_unix.c | 1 + src/io/connect_unix.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/io/bind_unix.c b/src/io/bind_unix.c index 398c2c9e..ea0140cf 100644 --- a/src/io/bind_unix.c +++ b/src/io/bind_unix.c @@ -2,6 +2,7 @@ #include #include #include +#include int bind_unix_from_c(int socket, const char *path, int pathlen) { diff --git a/src/io/connect_unix.c b/src/io/connect_unix.c index 41faab11..f5bdbfa1 100644 --- a/src/io/connect_unix.c +++ b/src/io/connect_unix.c @@ -2,6 +2,7 @@ #include #include #include +#include int connect_unix_from_c(int socket, const char *path, int pathlen) { -- cgit 1.4.1-2-gfad0