aboutsummaryrefslogtreecommitdiff
path: root/fsck-cache.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-30 09:59:31 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-30 09:59:31 -0700
commit4b18242190c40653549ec0663eea211bd87fcaed (patch)
tree4d1b283331db196df50caa038294d59940b574eb /fsck-cache.c
parentae200ee594545be43ed9dfb51c9db8e1a014a8f5 (diff)
downloadgit-4b18242190c40653549ec0663eea211bd87fcaed.tar.gz
git-4b18242190c40653549ec0663eea211bd87fcaed.tar.xz
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 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"