Commit 629417bd10d3308f1ee6fedd5bbb206a259337aa

Carlos Martín Nieto 2014-12-19T08:08:47

Fix ming32 compilation We need to know what wchar_t and MAX_PATH are. Including common.h takes care of that for us.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/win32/path_w32.h b/src/win32/path_w32.h
index 1d10166..033afbb 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