summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--cache.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cd299f8..a244b27 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
# BREAK YOUR LOCAL DIFFS! show-diff and anything using it will likely randomly
# break unless your underlying filesystem supports those sub-second times
# (my ext3 doesn't).
-CFLAGS=-g -O3 -Wall
+CFLAGS=-g -O2 -Wall
CC=gcc
AR=ar
diff --git a/cache.h b/cache.h
index eab355d..a67b79e 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>