1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-14 03:39:53 +03:00
aports/community/abook/gcc14.patch

12 lines
381 B
Diff

Fix -Wimplicit-function-declaration error with gcc 14.
--- abook-0.6.1-origin/getopt.c
+++ abook-0.6.1/getopt.c
@@ -110,6 +110,7 @@
GNU application programs can use a third alternative mode in which
they can distinguish the relative order of options and other arguments. */
+#include <string.h>
#include "getopt.h"
/* For communication from `getopt' to the caller.