summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/SystemUtils.cpp
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
commite0e1b0d2a628b9563c66a8fa455401b241e0391f (patch)
tree1a685e167c263fd5af20eaa3770bfad47350af2d /llvm/lib/Support/SystemUtils.cpp
parent75f7f8d90688bc692e32d9d33ca75dcb8e35ea4d (diff)
downloadbcm5719-llvm-e0e1b0d2a628b9563c66a8fa455401b241e0391f.tar.gz
bcm5719-llvm-e0e1b0d2a628b9563c66a8fa455401b241e0391f.zip
Fix build problem on sparc
llvm-svn: 5428
Diffstat (limited to 'llvm/lib/Support/SystemUtils.cpp')
-rw-r--r--llvm/lib/Support/SystemUtils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Support/SystemUtils.cpp b/llvm/lib/Support/SystemUtils.cpp
index 98b2fc662cf..034c141f794 100644
--- a/llvm/lib/Support/SystemUtils.cpp
+++ b/llvm/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>
OpenPOWER on IntegriCloud