From 7e129466d8bf25d7e0a65a4087a30a4c07746018 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 5 Jun 2013 09:17:26 +0000 Subject: [PATCH] The GNU/HURD is also using the libc. Therefor, endian.h should be included, not machine/endian.h. See full build log https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-3.3&arch=hurd-i386&ver=1%3A3.3~%2Brc3-1~exp1&stamp=1370358869 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183303 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Host.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)