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

llvm-svn: 74834
This commit is contained in:
Jeffrey Yasskin 2009-07-06 16:50:27 +00:00
parent dce892e128
commit 5a2e52182a
1 changed files with 4 additions and 1 deletions

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);
}