Fix build problem on sparc
authorChris Lattner <sabre@nondot.org>
Wed, 29 Jan 2003 18:15:34 +0000 (18:15 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 29 Jan 2003 18:15:34 +0000 (18:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5428 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/SystemUtils.cpp
support/lib/Support/SystemUtils.cpp
tools/bugpoint/SystemUtils.cpp

index 98b2fc662cf437a2068654a186bf8be54a7cde53..034c141f794f732db4e248620a12cabd38a28942 100644 (file)
@@ -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>
index 98b2fc662cf437a2068654a186bf8be54a7cde53..034c141f794f732db4e248620a12cabd38a28942 100644 (file)
@@ -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>
index 98b2fc662cf437a2068654a186bf8be54a7cde53..034c141f794f732db4e248620a12cabd38a28942 100644 (file)
@@ -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>