diff --git a/include/llvm/Support/Host.h b/include/llvm/Support/Host.h index 7246f51457d..28c4cc790fe 100644 --- a/include/llvm/Support/Host.h +++ b/include/llvm/Support/Host.h @@ -16,7 +16,7 @@ #include "llvm/ADT/StringMap.h" -#if defined(__linux__) +#if defined(__linux__) || defined(__GNU__) #include #else #if !defined(BYTE_ORDER) && !defined(LLVM_ON_WIN32)