You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
913 B
49 lines
913 B
13 years ago
|
--- src/parsegen.cpp
|
||
|
+++ src/parsegen.cpp
|
||
|
@@ -31,6 +31,7 @@
|
||
|
#include <sstream>
|
||
|
#include <set>
|
||
|
#include <stack>
|
||
|
+#include <cstring>
|
||
|
using namespace std;
|
||
|
|
||
|
#include <errno.h>
|
||
|
@@ -1828,7 +1829,7 @@
|
||
|
}
|
||
|
}
|
||
|
|
||
|
-int main(size_t argc, const char **argv)
|
||
|
+int main(int argc, const char **argv)
|
||
|
{
|
||
|
const char *cheader_file = 0;
|
||
|
bool compile = false;
|
||
|
--- src/tools/depbuild.cpp
|
||
|
+++ src/tools/depbuild.cpp
|
||
|
@@ -24,6 +24,7 @@
|
||
|
#include <iostream>
|
||
|
#include <string>
|
||
|
#include <cstdio>
|
||
|
+#include <cstdlib>
|
||
|
using namespace std;
|
||
|
|
||
|
#include "fileutil.h"
|
||
|
@@ -183,7 +184,7 @@
|
||
|
}
|
||
|
}
|
||
|
|
||
|
-int main(size_t argc, const char *const *const argv)
|
||
|
+int main(int argc, const char *const *const argv)
|
||
|
{
|
||
|
if (argc < 5)
|
||
|
{
|
||
|
--- src/tools/strutil.h
|
||
|
+++ src/tools/strutil.h
|
||
|
@@ -25,6 +25,7 @@
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
#include <cctype>
|
||
|
+#include <cstring>
|
||
|
|
||
|
struct ci_char_traits : public std::char_traits<char>
|
||
|
{
|