Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit c43dbc5

Browse files
kbleeskasal
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]>
1 parent 7ac2f5d commit c43dbc5

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)