--- a/src/cli/cli.c +++ b/src/cli/cli.c @@ -49,6 +49,9 @@ #include "build.h" +#define basename(path) \ + (strrchr((path),'/') ? strrchr((path),'/')+1 : (path)) + /** * Print a (@detailed) usage of PRoot. */