summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-12-19 08:08:47 +0000
committerCarlos Martín Nieto <cmn@dwim.me>2014-12-19 08:08:47 +0000
commit629417bd10d3308f1ee6fedd5bbb206a259337aa (patch)
tree3faa32e29859280947a3861dc8b121d0ec431d8a
parentddf9d7d4550927b39faddcde0c2b98b5001226b0 (diff)
downloadlibgit2-629417bd10d3308f1ee6fedd5bbb206a259337aa.tar.gz
Fix ming32 compilation
We need to know what wchar_t and MAX_PATH are. Including common.h takes care of that for us.
-rw-r--r--src/win32/path_w32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/win32/path_w32.h b/src/win32/path_w32.h
index 1d10166e8..033afbb0f 100644
--- a/src/win32/path_w32.h
+++ b/src/win32/path_w32.h
@@ -7,6 +7,8 @@
#ifndef INCLUDE_git_path_w32_h__
#define INCLUDE_git_path_w32_h__
+#include "common.h"
+
/*
* Provides a large enough buffer to support Windows paths: MAX_PATH is
* 260, corresponding to a maximum path length of 259 characters plus a