See https://gitlab.alpinelinux.org/alpine/aports/-/issues/16106

diff -upr iproute2-6.8.0.orig/rdma/rdma.c iproute2-6.8.0/rdma/rdma.c
--- iproute2-6.8.0.orig/rdma/rdma.c	2024-05-12 12:53:01.571060710 +0200
+++ iproute2-6.8.0/rdma/rdma.c	2024-05-12 12:53:26.597791868 +0200
@@ -8,6 +8,9 @@
 #include "version.h"
 #include "color.h"
 
+/* For basename(3) prototype */
+#include <libgen.h>
+
 /* Global utils flags */
 int json;