From: Linus Torvalds <torvalds@ppc970.osdl.org> Date: Sat, 30 Apr 2005 16:59:31 +0000 (-0700) Subject: Fix up d_type handling - we need to include <dirent.h> before X-Git-Tag: v0.99~690 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4b18242190c40653549ec0663eea211bd87fcaed;p=git.git Fix up d_type handling - we need to include <dirent.h> before we play with the d_type compatibility macros. --- diff --git a/fsck-cache.c b/fsck-cache.c index 164fc2eae..44e5e4994 100644 --- a/fsck-cache.c +++ b/fsck-cache.c @@ -1,8 +1,7 @@ -#include "cache.h" - #include <sys/types.h> #include <dirent.h> +#include "cache.h" #include "commit.h" #include "tree.h" #include "blob.h"