#ifndef WIN32
#include <fnmatch.h>
#endif
-#include <msp/strutils.h>
+#include <msp/strings/utils.h>
#include "path.h"
#include "utils.h"
Extracts the basename from the given path. Same thing as Path::Path(p)[-1],
but faster.
*/
-string basename(const std::string &p);
+string basename(const std::string &p)
{
unsigned slash=p.rfind(DIRCHAR);
if(slash==string::npos)