Code

ctype.c only wants git-compat-util.h
authorNamhyung Kim <namhyung.kim@lge.com>
Fri, 10 Feb 2012 02:13:30 +0000 (11:13 +0900)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Feb 2012 20:53:55 +0000 (12:53 -0800)
The implementation of sane ctype macros only depends on symbols in
git-compat-util.h not cache.h

Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ctype.c

diff --git a/ctype.c b/ctype.c
index b5d856fd26bd892a5f18202b054fc53e7c953429..af722f957fa5a1899dc906196d9b0372acab946d 100644 (file)
--- a/ctype.c
+++ b/ctype.c
@@ -3,7 +3,7 @@
  *
  * No surprises, and works with signed and unsigned chars.
  */
-#include "cache.h"
+#include "git-compat-util.h"
 
 enum {
        S = GIT_SPACE,