diff options
| -rw-r--r-- | llvm/lib/Support/SystemUtils.cpp | 3 | ||||
| -rw-r--r-- | llvm/support/lib/Support/SystemUtils.cpp | 3 | ||||
| -rw-r--r-- | llvm/tools/bugpoint/SystemUtils.cpp | 3 |
3 files changed, 6 insertions, 3 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> diff --git a/llvm/support/lib/Support/SystemUtils.cpp b/llvm/support/lib/Support/SystemUtils.cpp index 98b2fc662cf..034c141f794 100644 --- a/llvm/support/lib/Support/SystemUtils.cpp +++ b/llvm/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/llvm/tools/bugpoint/SystemUtils.cpp b/llvm/tools/bugpoint/SystemUtils.cpp index 98b2fc662cf..034c141f794 100644 --- a/llvm/tools/bugpoint/SystemUtils.cpp +++ b/llvm/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> |

