mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-12 05:25:34 +02:00
14 lines
333 B
Diff
14 lines
333 B
Diff
Include missing basename declaration on musl
|
|
|
|
diff -rup ifrename.c.orig ifrename.c
|
|
--- a/ifrename.c
|
|
+++ b/ifrename.c
|
|
@@ -45,6 +45,7 @@
|
|
#define _GNU_SOURCE
|
|
#endif
|
|
|
|
+#include <libgen.h> /* basename() */
|
|
#include <getopt.h> /* getopt_long() */
|
|
#include <linux/sockios.h> /* SIOCSIFNAME */
|
|
#include <fnmatch.h> /* fnmatch() */
|
|
|