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-20 13:06:32 +0000
commit4058f1ccccbf12331b5094652efa796ac899e85a (patch)
tree2615ca7c281a4d6dd505a65b63833d481e20bf51
parent04da2363548b9b4690e13a4126e8fc936657c011 (diff)
downloadlibgit2-4058f1ccccbf12331b5094652efa796ac899e85a.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