aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--cgit.h3
-rw-r--r--ui-tree.c1
2 files changed, 1 insertions, 3 deletions
diff --git a/cgit.h b/cgit.h
index f327627..508179a 100644
--- a/cgit.h
+++ b/cgit.h
@@ -25,9 +25,6 @@
#include <notes.h>
#include <graph.h>
-/* Add isgraph(x) to Git's sane ctype support (see git-compat-util.h) */
-#undef isgraph
-#define isgraph(x) (isprint((x)) && !isspace((x)))
/*
* Dateformats used on misc. pages
diff --git a/ui-tree.c b/ui-tree.c
index 2dbe89e..c8d24f6 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -6,6 +6,7 @@
* (see COPYING for full license text)
*/
+#include <ctype.h>
#include "cgit.h"
#include "ui-tree.h"
#include "html.h"