aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Unix/Unix.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-31 17:43:29 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-31 17:43:29 +0000
commit387e5ec502096dcd3564889b238e6442112a9784 (patch)
treec098491642563475df5fdf0bd5cd64f57492d69e /lib/System/Unix/Unix.h
parentd19e2901c1b79d287d01079659684f3a4951a69e (diff)
Add a new abstraction, SysConfig for platform independent system
configuration calls. Right now this just contains PreventCoreFiles so that bugpoint can by platform independent. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix/Unix.h')
-rw-r--r--lib/System/Unix/Unix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/System/Unix/Unix.h b/lib/System/Unix/Unix.h
index 04b86ff877..aa6bfb1a78 100644
--- a/lib/System/Unix/Unix.h
+++ b/lib/System/Unix/Unix.h
@@ -25,6 +25,7 @@
#include <sys/types.h>
#include <sys/param.h>
#include <assert.h>
+#include <string>
inline void ThrowErrno(const std::string& prefix) {
#if defined __USE_XOPEN2K || defined __USE_MISC