Skip to content

Commit

Permalink
The GNU/HURD is also using the libc. Therefor, endian.h should be inc…
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre committed Jun 5, 2013
1 parent d7aad34 commit 7e12946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/llvm/Support/Host.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include "llvm/ADT/StringMap.h"

#if defined(__linux__)
#if defined(__linux__) || defined(__GNU__)
#include <endian.h>
#else
#if !defined(BYTE_ORDER) && !defined(LLVM_ON_WIN32)
Expand Down

0 comments on commit 7e12946

Please sign in to comment.