--- tools/abisym.cc.orig	2025-01-13 11:40:45 UTC
+++ tools/abisym.cc
@@ -12,6 +12,7 @@
 
 #include <libgen.h>
 #include <elf.h>
+#include <libgen.h>
 #include <cstring>
 #include <iostream>
 #include <sstream>
