aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-20 13:00:08 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-20 13:00:08 -0700
commit2dee0609685a0a01d7fd65e6a804363c3514087c (patch)
tree7f621eae988378ee776c040a5856e873e41691e1 /cache.h
parentca9be05421ff3b641182ab4063c7c3ac834750b5 (diff)
downloadgit-2dee0609685a0a01d7fd65e6a804363c3514087c.tar.gz
git-2dee0609685a0a01d7fd65e6a804363c3514087c.tar.xz
Improve build: add <unistd.h> and use -O2 instead of -O3
(Nobody should use -O3. It just makes bad inlining decisions).
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index eab355da5..a67b79e97 100644
--- a/cache.h
+++ b/cache.h
@@ -1,6 +1,7 @@
#ifndef CACHE_H
#define CACHE_H
+#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <fcntl.h>