Fix up d_type handling - we need to include <dirent.h> before
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 30 Apr 2005 16:59:31 +0000 (09:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 30 Apr 2005 16:59:31 +0000 (09:59 -0700)
we play with the d_type compatibility macros.

fsck-cache.c

index 164fc2e..44e5e49 100644 (file)
@@ -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"