diff options
-rw-r--r-- | cgit.h | 3 | ||||
-rw-r--r-- | ui-tree.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/cgit.h b/cgit.h index 508179a..f327627 100644 --- a/cgit.h +++ b/cgit.h | |||
@@ -25,6 +25,9 @@ | |||
25 | #include <notes.h> | 25 | #include <notes.h> |
26 | #include <graph.h> | 26 | #include <graph.h> |
27 | 27 | ||
28 | /* Add isgraph(x) to Git's sane ctype support (see git-compat-util.h) */ | ||
29 | #undef isgraph | ||
30 | #define isgraph(x) (isprint((x)) && !isspace((x))) | ||
28 | 31 | ||
29 | /* | 32 | /* |
30 | * Dateformats used on misc. pages | 33 | * Dateformats used on misc. pages |
diff --git a/ui-tree.c b/ui-tree.c index c8d24f6..2dbe89e 100644 --- a/ui-tree.c +++ b/ui-tree.c | |||
@@ -6,7 +6,6 @@ | |||
6 | * (see COPYING for full license text) | 6 | * (see COPYING for full license text) |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <ctype.h> | ||
10 | #include "cgit.h" | 9 | #include "cgit.h" |
11 | #include "ui-tree.h" | 10 | #include "ui-tree.h" |
12 | #include "html.h" | 11 | #include "html.h" |