diff --git a/lib/Support/Unix/Process.inc b/lib/Support/Unix/Process.inc index 566684ff5eb..4d272fd6b4b 100644 --- a/lib/Support/Unix/Process.inc +++ b/lib/Support/Unix/Process.inc @@ -264,7 +264,9 @@ extern "C" int del_curterm(struct term *termp); extern "C" int tigetnum(char *capname); #endif +#ifdef HAVE_TERMINFO static ManagedStatic TermColorMutex; +#endif static bool terminalHasColors(int fd) { #ifdef HAVE_TERMINFO