Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-30 20:59:31 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-30 20:59:31 +0400
commit4b18242190c40653549ec0663eea211bd87fcaed (patch)
tree4d1b283331db196df50caa038294d59940b574eb /fsck-cache.c
parentae200ee594545be43ed9dfb51c9db8e1a014a8f5 (diff)
Fix up d_type handling - we need to include <dirent.h> before
we play with the d_type compatibility macros.
Diffstat (limited to 'fsck-cache.c')
-rw-r--r--fsck-cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fsck-cache.c b/fsck-cache.c
index 164fc2eaee..44e5e49948 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"