Oops, I #included errno.h from inside the llvm::sys namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74834 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeffrey Yasskin 2009-07-06 16:50:27 +00:00
parent 9cc8fa72a3
commit 4733e747d1

View File

@ -17,6 +17,10 @@
#if HAVE_STRING_H
#include <string.h>
#if HAVE_ERRNO_H
#include <errno.h>
#endif
//===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only TRULY operating system
//=== independent code.
@ -26,7 +30,6 @@ namespace llvm {
namespace sys {
#if HAVE_ERRNO_H
#include <errno.h>
std::string StrError() {
return StrError(errno);
}