summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Karsten Blees <blees@dcon.de>2011-01-07 17:47:41 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-06-09 15:10:53 -0700
commita8248f4a8dfc43177bbbcd9b874fc4e0cbf6b322 (patch)
tree2df9ee004506108fb9a1359653882b2865fb685f
parentWin32 dirent: change FILENAME_MAX to MAX_PATH (diff)
downloadtgif-a8248f4a8dfc43177bbbcd9b874fc4e0cbf6b322.tar.xz
Win32 dirent: clarify #include directives
Git-compat-util.h is two dirs up, and already includes <dirent.h> (which is the same as "dirent.h" due to -Icompat/win32 in the Makefile). Signed-off-by: Karsten Blees <blees@dcon.de> Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Stepan Kasal <kasal@ucw.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--compat/win32/dirent.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/compat/win32/dirent.c b/compat/win32/dirent.c
index 7a0debe51b..fac7f25047 100644
--- a/compat/win32/dirent.c
+++ b/compat/win32/dirent.c
@@ -1,5 +1,4 @@
-#include "../git-compat-util.h"
-#include "dirent.h"
+#include "../../git-compat-util.h"
struct DIR {
struct dirent dd_dir; /* includes d_type */