diff options
author | Tanya Lattner <tonic@nondot.org> | 2004-10-05 00:51:26 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2004-10-05 00:51:26 +0000 |
commit | c5a0bbfbeb47225f50abec5547a64da97691a354 (patch) | |
tree | 341b15f3e2b0f006f57ad55e6d286073ba8f9ee0 /lib | |
parent | 341e1dad1b97854af182b0b5293a02c553e9a033 (diff) |
Added a couple of includes to get this to compile on Sparc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/System/Unix/MappedFile.cpp | 2 | ||||
-rw-r--r-- | lib/System/Unix/MappedFile.inc | 2 | ||||
-rw-r--r-- | lib/System/Unix/Unix.h | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/lib/System/Unix/MappedFile.cpp b/lib/System/Unix/MappedFile.cpp index 7682c23fda..7e03cd15a8 100644 --- a/lib/System/Unix/MappedFile.cpp +++ b/lib/System/Unix/MappedFile.cpp @@ -18,7 +18,7 @@ #include "llvm/System/Process.h" #include "Unix.h" -#include <sys/fcntl.h> +#include <fcntl.h> #include <sys/mman.h> namespace llvm { diff --git a/lib/System/Unix/MappedFile.inc b/lib/System/Unix/MappedFile.inc index 7682c23fda..7e03cd15a8 100644 --- a/lib/System/Unix/MappedFile.inc +++ b/lib/System/Unix/MappedFile.inc @@ -18,7 +18,7 @@ #include "llvm/System/Process.h" #include "Unix.h" -#include <sys/fcntl.h> +#include <fcntl.h> #include <sys/mman.h> namespace llvm { diff --git a/lib/System/Unix/Unix.h b/lib/System/Unix/Unix.h index b9eff46c46..37bc53c28a 100644 --- a/lib/System/Unix/Unix.h +++ b/lib/System/Unix/Unix.h @@ -23,6 +23,7 @@ #include <cstring> #include <cerrno> #include <sys/types.h> +#include <sys/stat.h> #include <sys/param.h> #include <assert.h> #include <string> |