OSDN Git Service

Win32 dirent: clarify #include directives
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:47:41 +0000 (17:47 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jun 2014 22:10:53 +0000 (15:10 -0700)
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>
compat/win32/dirent.c

index 7a0debe..fac7f25 100644 (file)
@@ -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 */