summaryrefslogtreecommitdiff
path: root/net/ucspi-unix/patches/patch-unixserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ucspi-unix/patches/patch-unixserver.c')
-rw-r--r--net/ucspi-unix/patches/patch-unixserver.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/ucspi-unix/patches/patch-unixserver.c b/net/ucspi-unix/patches/patch-unixserver.c
new file mode 100644
index 00000000000..201cbbf6e16
--- /dev/null
+++ b/net/ucspi-unix/patches/patch-unixserver.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-unixserver.c,v 1.1 2020/11/18 14:31:43 schmonz Exp $
+
+Include missing strlen declaration.
+
+--- unixserver.c.orig 2015-08-12 03:05:40.000000000 +0000
++++ unixserver.c
+@@ -1,6 +1,7 @@
+ #include <signal.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>