projects/aports·blob master · refs

13 lines · 423 B

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