Skip to content

Commit a8248f4

Browse files
kbleesgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Erik Faye-Lund <[email protected]> Signed-off-by: Stepan Kasal <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fa9abe9 commit a8248f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compat/win32/dirent.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#include "../git-compat-util.h"
2-
#include "dirent.h"
1+
#include "../../git-compat-util.h"
32

43
struct DIR {
54
struct dirent dd_dir; /* includes d_type */

0 commit comments

Comments
 (0)