diff options
@@ -25,6 +25,9 @@ #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 @@ -6,7 +6,6 @@ * (see COPYING for full license text) */ -#include <ctype.h> #include "cgit.h" #include "ui-tree.h" #include "html.h" |