untracked cache: guard and disable on system changes
[gitweb.git] / git-compat-util.h
index fd58b1d2bcde2e1bff67ce503226bdbedf82a382..1663537791e42e19f2d8cbd2493993eae41b55ff 100644 (file)
 #elif defined(_MSC_VER)
 #include "compat/msvc.h"
 #else
+#include <sys/utsname.h>
 #include <sys/wait.h>
 #include <sys/resource.h>
 #include <sys/socket.h>
@@ -688,7 +689,7 @@ static inline size_t xsize_t(off_t len)
 }
 
 /* in ctype.c, for kwset users */
-extern const char tolower_trans_tbl[256];
+extern const unsigned char tolower_trans_tbl[256];
 
 /* Sane ctype - no locale, and works with signed chars */
 #undef isascii