From e8ba3c2f4de8c60808e9c919cc3e947d15136e21 Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Mon, 14 Oct 2013 09:12:45 +0200 Subject: [PATCH] Fix compilation errors under Clang. --- parse_productions.h | 1 + parse_tree.h | 1 + 2 files changed, 2 insertions(+) diff --git a/parse_productions.h b/parse_productions.h index 18894ca78..e6c003ab2 100644 --- a/parse_productions.h +++ b/parse_productions.h @@ -7,6 +7,7 @@ #define FISH_PARSE_TREE_CONSTRUCTION_H #include "parse_tree.h" +#include namespace parse_productions { diff --git a/parse_tree.h b/parse_tree.h index 79cae8ccb..8621cea8f 100644 --- a/parse_tree.h +++ b/parse_tree.h @@ -13,6 +13,7 @@ #include "common.h" #include "tokenizer.h" #include +#include #define PARSE_ASSERT(a) assert(a) #define PARSER_DIE() do { fprintf(stderr, "Parser dying!\n"); exit_without_destructors(-1); } while (0)