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 @@ | |||
| 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 |
| @@ -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" |
