aboutsummaryrefslogtreecommitdiff
path: root/net/portfwd/files/patch-getopt_getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/portfwd/files/patch-getopt_getopt.c')
-rw-r--r--net/portfwd/files/patch-getopt_getopt.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/portfwd/files/patch-getopt_getopt.c b/net/portfwd/files/patch-getopt_getopt.c
new file mode 100644
index 000000000000..2a2f5ea43e7d
--- /dev/null
+++ b/net/portfwd/files/patch-getopt_getopt.c
@@ -0,0 +1,10 @@
+--- getopt/getopt.c.orig 2023-06-28 09:07:29 UTC
++++ getopt/getopt.c
+@@ -40,6 +40,7 @@
+ #endif
+
+ #include <stdio.h>
++#include <string.h>
+
+ /* Comment out all this code if we are using the GNU C Library, and are not
+ actually compiling the library itself. This code is part of the GNU C