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>
Karsten Blees committed
Jan 7, 2011 at 17:47 UTC
a8248f4a8dfc43177bbbcd9b874fc4e0cbf6b322
1 file changed
+1
-2
compat/win32/dirent.c
+1
-2
@@ -1,5 +1,4 @@
1
-#include "../git-compat-util.h"
2
-#include "dirent.h"
1
+#include "../../git-compat-util.h"
2
3
struct DIR {
4
struct dirent dd_dir; /* includes d_type */