[llvm-commits] CVS: llvm/lib/System/Unix/MappedFile.cpp Unix.h
Tanya Brethour
tbrethou at cs.uiuc.edu
Mon Oct 4 17:51:41 PDT 2004
Changes in directory llvm/lib/System/Unix:
MappedFile.cpp updated: 1.2 -> 1.3
Unix.h updated: 1.5 -> 1.6
---
Log message:
Added a couple of includes to get this to compile on Sparc.
---
Diffs of the changes: (+2 -1)
Index: llvm/lib/System/Unix/MappedFile.cpp
diff -u llvm/lib/System/Unix/MappedFile.cpp:1.2 llvm/lib/System/Unix/MappedFile.cpp:1.3
--- llvm/lib/System/Unix/MappedFile.cpp:1.2 Mon Oct 4 19:46:21 2004
+++ llvm/lib/System/Unix/MappedFile.cpp Mon Oct 4 19:51:26 2004
@@ -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: llvm/lib/System/Unix/Unix.h
diff -u llvm/lib/System/Unix/Unix.h:1.5 llvm/lib/System/Unix/Unix.h:1.6
--- llvm/lib/System/Unix/Unix.h:1.5 Wed Sep 1 17:55:35 2004
+++ llvm/lib/System/Unix/Unix.h Mon Oct 4 19:51:26 2004
@@ -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>
More information about the llvm-commits
mailing list