diff options
author | Chris Lattner <sabre@nondot.org> | 2003-01-29 18:15:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-01-29 18:15:34 +0000 |
commit | e0e1b0d2a628b9563c66a8fa455401b241e0391f (patch) | |
tree | 1a685e167c263fd5af20eaa3770bfad47350af2d /llvm/lib/Support | |
parent | 75f7f8d90688bc692e32d9d33ca75dcb8e35ea4d (diff) | |
download | bcm5719-llvm-e0e1b0d2a628b9563c66a8fa455401b241e0391f.tar.gz bcm5719-llvm-e0e1b0d2a628b9563c66a8fa455401b241e0391f.zip |
Fix build problem on sparc
llvm-svn: 5428
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/SystemUtils.cpp | 3 |
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> |