1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 19:29:53 +03:00
aports/community/dircproxy/fix-gcc14-issue.patch

13 lines
423 B
Diff

Fix -Wimplicit-function-declaration error with gcc 14.
--- dircproxy-RELEASE-1_2_0-BETA-origin/getopt/getopt.c
+++ dircproxy-RELEASE-1_2_0-BETA/getopt/getopt.c
@@ -75,6 +75,8 @@
#define __alloca alloca
#endif /* GNU C library. */
+#include <string.h>
+
/* If GETOPT_COMPAT is defined, `+' as well as `--' can introduce a
long-named option. Because this is not POSIX.2 compliant, it is
being phased out. */