git-apply: consider it an error to apply no changes
[gitweb.git] / date.c
diff --git a/date.c b/date.c
index b0b83c9da22f8a099cad5616e1ec5e63f2220f54..ff922fe4fc896f4d1132ae84ab5fa74c7f582484 100644 (file)
--- a/date.c
+++ b/date.c
@@ -4,12 +4,11 @@
  * Copyright (C) Linus Torvalds, 2005
  */
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
 #include <ctype.h>
 #include <time.h>
 
+#include "cache.h"
+
 static time_t my_mktime(struct tm *tm)
 {
        static const int mdays[] = {