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 | 3301b695cb158e09ec540cc8318eacef9877b638 (patch) | |
tree | 1d4d6f18f8930d8dae6053bd9e11a67ec37f6261 | |
parent | 910687ec5582f111305283c6f0a2dafeb469ffb2 (diff) |
Fix build problem on sparc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5428 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Support/SystemUtils.cpp | 3 | ||||
-rw-r--r-- | support/lib/Support/SystemUtils.cpp | 3 | ||||
-rw-r--r-- | tools/bugpoint/SystemUtils.cpp | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/lib/Support/SystemUtils.cpp b/lib/Support/SystemUtils.cpp index 98b2fc662c..034c141f79 100644 --- a/lib/Support/SystemUtils.cpp +++ b/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> 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> diff --git a/tools/bugpoint/SystemUtils.cpp b/tools/bugpoint/SystemUtils.cpp index 98b2fc662c..034c141f79 100644 --- a/tools/bugpoint/SystemUtils.cpp +++ b/tools/bugpoint/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> |