about summary refs log tree commit diff stats
path: root/cpp/tangle/boot.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-17 15:10:36 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-17 15:10:36 -0700
commit30ab02977063217dcf16028d897a3e8cb0d9cff9 (patch)
tree34785c21d93e6c1650b66b7bd987c9ab792a0c9c /cpp/tangle/boot.cc
parent1fba5d5d40136f74ee23250d5ccd5737e90bfd11 (diff)
downloadmu-30ab02977063217dcf16028d897a3e8cb0d9cff9.tar.gz
1082
Turns out I'm only able to define a 'raise' macro because I have include
no system headers after that point.
Diffstat (limited to 'cpp/tangle/boot.cc')
-rw-r--r--cpp/tangle/boot.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/tangle/boot.cc b/cpp/tangle/boot.cc
index 136d3382..0001c84c 100644
--- a/cpp/tangle/boot.cc
+++ b/cpp/tangle/boot.cc
@@ -1,9 +1,11 @@
 #define unused __attribute__((unused))
 
+#include<assert.h>
 #include<cstdio>
 #include<cstring>
 #include<cstdlib>
 #include<errno.h>
+#include<sys/param.h>
 #include<time.h>
 #include<math.h>
 #include<vector>
@@ -42,6 +44,9 @@ using std::ostringstream;
 using std::ifstream;
 using std::ofstream;
 
+#include <locale>
+using std::isspace;  // unicode-aware
+
 
 
 #include "type_list"