summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/path.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/path.cc b/src/path.cc
index 959d364..08565fd 100644
--- a/src/path.cc
+++ b/src/path.cc
@@ -27,8 +27,11 @@
#include "path.h"
#ifndef WIN32
+
#include <libgen.h>
+#else/*WIN32*/
+
#ifndef _MAX_DIR
#define _MAX_DIR 256
#endif