Added a couple of includes to get this to compile on Sparc.
authorTanya Lattner <tonic@nondot.org>
Tue, 5 Oct 2004 00:51:26 +0000 (00:51 +0000)
committerTanya Lattner <tonic@nondot.org>
Tue, 5 Oct 2004 00:51:26 +0000 (00:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16685 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Unix/MappedFile.cpp
lib/System/Unix/MappedFile.inc
lib/System/Unix/Unix.h

index 7682c23fda1eb36403a597c5d751afb93d6b1870..7e03cd15a819a9a6e46d8fad34dd4cdac80b8235 100644 (file)
@@ -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 {
index 7682c23fda1eb36403a597c5d751afb93d6b1870..7e03cd15a819a9a6e46d8fad34dd4cdac80b8235 100644 (file)
@@ -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 {
index b9eff46c46f10864401eaf7cb9e9fa716c5fccd5..37bc53c28a5e881f73d211544627628dbe5822d5 100644 (file)
@@ -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>