summaryrefslogtreecommitdiffstats
path: root/src/eval_env.h
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2010-12-17 23:00:47 (GMT)
committerEvan Martin <martine@danga.com>2010-12-17 23:00:47 (GMT)
commitb0f931f18d4ce98ebbc712d0caa8368b68137028 (patch)
treee9d5fc494309b61198745364f54eb7467325a609 /src/eval_env.h
parentcd5dd9e74df2accca52c85cbb1c0e7075660919e (diff)
downloadNinja-b0f931f18d4ce98ebbc712d0caa8368b68137028.zip
Ninja-b0f931f18d4ce98ebbc712d0caa8368b68137028.tar.gz
Ninja-b0f931f18d4ce98ebbc712d0caa8368b68137028.tar.bz2
use hash_map for paths; much faster builds
Diffstat (limited to 'src/eval_env.h')
-rw-r--r--src/eval_env.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/eval_env.h b/src/eval_env.h
index a630e7a..cc61a38 100644
--- a/src/eval_env.h
+++ b/src/eval_env.h
@@ -1,6 +1,9 @@
#ifndef NINJA_EVAL_ENV_H_
#define NINJA_EVAL_ENV_H_
+#include <map>
+using namespace std;
+
// A scope for variable lookups.
struct Env {
virtual string LookupVariable(const string& var) = 0;