summaryrefslogtreecommitdiff
path: root/support/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-29 18:15:34 +0000
committerChris Lattner <sabre@nondot.org>2003-01-29 18:15:34 +0000
commit3301b695cb158e09ec540cc8318eacef9877b638 (patch)
tree1d4d6f18f8930d8dae6053bd9e11a67ec37f6261 /support/lib
parent910687ec5582f111305283c6f0a2dafeb469ffb2 (diff)
downloadllvm-3301b695cb158e09ec540cc8318eacef9877b638.tar.gz
llvm-3301b695cb158e09ec540cc8318eacef9877b638.tar.bz2
llvm-3301b695cb158e09ec540cc8318eacef9877b638.tar.xz
Fix build problem on sparc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'support/lib')
-rw-r--r--support/lib/Support/SystemUtils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/support/lib/Support/SystemUtils.cpp b/support/lib/Support/SystemUtils.cpp
index 98b2fc662c..034c141f79 100644
--- a/support/lib/Support/SystemUtils.cpp
+++ b/support/lib/Support/SystemUtils.cpp
@@ -9,7 +9,8 @@
#include <algorithm>
#include <fstream>
#include <iostream>
-#include <stdlib.h>
+#include <cstdlib>
+#include <alloca.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>