From 345b6307be76e6f48e255f698d057c7ac5f9679d Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Tue, 13 Aug 2013 09:35:07 +0200 Subject: [PATCH] windows: Require order --- src/path.c | 1 - src/win32/dir.c | 3 +-- src/win32/posix.h | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/path.c b/src/path.c index cf9a3776a..c9716ef6a 100644 --- a/src/path.c +++ b/src/path.c @@ -8,7 +8,6 @@ #include "path.h" #include "posix.h" #ifdef GIT_WIN32 -#include "win32/dir.h" #include "win32/posix.h" #else #include diff --git a/src/win32/dir.c b/src/win32/dir.c index f75b8d57e..cd3c7de51 100644 --- a/src/win32/dir.c +++ b/src/win32/dir.c @@ -5,8 +5,7 @@ * a Linking Exception. For full terms see the included COPYING file. */ #define GIT__WIN32_NO_WRAP_DIR -#include "dir.h" -#include "utf-conv.h" +#include "posix.h" static int init_filter(char *filter, size_t n, const char *dir) { diff --git a/src/win32/posix.h b/src/win32/posix.h index 0d5effe08..b573f49af 100644 --- a/src/win32/posix.h +++ b/src/win32/posix.h @@ -9,6 +9,7 @@ #include "common.h" #include "utf-conv.h" +#include "dir.h" GIT_INLINE(int) p_link(const char *old, const char *new) {