Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Win32 dirent: clarify #include directives
author
Karsten Blees
<blees@dcon.de>
Fri, 7 Jan 2011 16:47:41 +0000
(17:47 +0100)
committer
Junio 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
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
fa9abe9
)
diff --git
a/compat/win32/dirent.c
b/compat/win32/dirent.c
index 7a0debe51bcad9f8d46c9c675aa3a6bbaaf7f537..fac7f2504731c8494a63a41dc3ba035a081c472c 100644
(file)
--- 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 */