diff options
-rw-r--r-- | src/io/bind_unix.c | 1 | ||||
-rw-r--r-- | src/io/connect_unix.c | 1 |
2 files changed, 2 insertions, 0 deletions
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 <sys/types.h> #include <sys/socket.h> #include <sys/un.h> +#include <string.h> 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 <sys/types.h> #include <sys/socket.h> #include <sys/un.h> +#include <string.h> int connect_unix_from_c(int socket, const char *path, int pathlen) { |