summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit4f48470d8407666c88c8fa704b8719a6dfe98250 (patch)
tree751c1c7a95f33d79eaf341045505a2a8b8599631 /llvm/lib/System/Unix/Unix.h
parentb84f0be5b123e5d7f66de6eaaf15a9bb1f16817a (diff)
downloadbcm5719-llvm-4f48470d8407666c88c8fa704b8719a6dfe98250.tar.gz
bcm5719-llvm-4f48470d8407666c88c8fa704b8719a6dfe98250.zip
Add a new abstraction, SysConfig for platform independent system
configuration calls. Right now this just contains PreventCoreFiles so that bugpoint can by platform independent. llvm-svn: 16124
Diffstat (limited to 'llvm/lib/System/Unix/Unix.h')
-rw-r--r--llvm/lib/System/Unix/Unix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/System/Unix/Unix.h b/llvm/lib/System/Unix/Unix.h
index 04b86ff8774..aa6bfb1a78a 100644
--- a/llvm/lib/System/Unix/Unix.h
+++ b/llvm/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
OpenPOWER on IntegriCloud