blob: 1a5392d97f0bcd248aa5a9ef4a4c3e7d93a59bed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- src/symboltable.cc
+++ src/symboltable.cc
@@ -11,8 +11,11 @@
#include <string>
#include <map>
#include <cstdlib> // For malloc() and friends
+#include <cstring> // For strlen() and friends
#include "symboltable.h"
+using namespace std;
+
static char *make_c_string(const string &s);
map<string,string> table; /* XXX - Is this going to cause problems on
--- src/symboltable.h
+++ src/symboltable.h
@@ -26,7 +26,7 @@
/* Initialize the symbol table based on the
* arguments. */
#ifdef __cplusplus
-};
+}
#endif /* __cplusplus */
/* This is for Emacs's benefit:
|