diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-06-05 08:59:43 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-06-05 08:59:43 +0000 |
commit | 8868e84614d376a2172eae1b8c381b3ff16d9ead (patch) | |
tree | 45541bd800e0410d80a4e2ec4649d7a61bf15cc1 /lib/Support/FileUtilities.cpp | |
parent | f0a3e6c21cc24ebbec701bd8f6b1253b49498457 (diff) | |
download | external_llvm-8868e84614d376a2172eae1b8c381b3ff16d9ead.zip external_llvm-8868e84614d376a2172eae1b8c381b3ff16d9ead.tar.gz external_llvm-8868e84614d376a2172eae1b8c381b3ff16d9ead.tar.bz2 |
Include cerrno.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14041 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/FileUtilities.cpp')
-rw-r--r-- | lib/Support/FileUtilities.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/FileUtilities.cpp b/lib/Support/FileUtilities.cpp index bd5cf09..9844835 100644 --- a/lib/Support/FileUtilities.cpp +++ b/lib/Support/FileUtilities.cpp @@ -18,9 +18,10 @@ #include "Config/sys/stat.h" #include "Config/sys/types.h" #include "Config/sys/mman.h" +#include <cerrno> +#include <cstdio> #include <fstream> #include <iostream> -#include <cstdio> using namespace llvm; /// CheckMagic - Returns true IFF the file named FN begins with Magic. FN must |