Permalink
Browse files

Added missing header for basename()

  • Loading branch information...
1 parent d58b6ec commit d9b5ab0436dbde6662dc4671a6b82abdd5274c46 @davenger davenger committed Dec 7, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 samples/blacklist/blacklist.cpp
@@ -92,7 +92,9 @@ void Use(const std::string& filename)
Filter(sc);
}
-#ifdef _WIN32
+#ifndef _WIN32
+#include <libgen.h>
+#else
const char* basename(const char* name)
{
return name;

0 comments on commit d9b5ab0

Please sign in to comment.