Include libgen.h to get prototype for basename in a POSIX conformant way. Fix for...