diff options
| -rw-r--r-- | cgit.h | 3 | ||||
| -rw-r--r-- | ui-tree.c | 1 | 
2 files changed, 3 insertions, 1 deletions
| @@ -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" | 
