diff -u -r ../attr-2.4.48/tools/attr.c ./tools/attr.c --- ../attr-2.4.48/tools/attr.c 2018-01-21 05:00:44.000000000 +0000 +++ ./tools/attr.c 2018-06-26 03:18:34.271455876 +0000 @@ -28,6 +28,7 @@ #include <errno.h> #include <string.h> #include <locale.h> +#include <libgen.h> /* for basename(3) */ #include <attr/attributes.h>