summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.cc
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-10-21 04:06:46 -0700
committerMatthew Cline <zelgadis@sourceforge.net>2009-10-21 04:06:46 -0700
commit17151da3549aeb8b8d70b2e913c6114f40b82f33 (patch)
treed772c068edae31800a72e7724c01f2cc12d7cb23 /crawl-ref/source/clua.cc
parenteffa82373cdbf1b2ef17dac9b04663741183cfe8 (diff)
downloadcrawl-ref-17151da3549aeb8b8d70b2e913c6114f40b82f33.tar.gz
crawl-ref-17151da3549aeb8b8d70b2e913c6114f40b82f33.zip
clua.cc: needed algorithm header file
Needed "#include <algorithm>" for std::find()
Diffstat (limited to 'crawl-ref/source/clua.cc')
-rw-r--r--crawl-ref/source/clua.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/clua.cc b/crawl-ref/source/clua.cc
index 529ca02c1d..4c2367e0b5 100644
--- a/crawl-ref/source/clua.cc
+++ b/crawl-ref/source/clua.cc
@@ -15,6 +15,8 @@
#include "state.h"
#include "stuff.h"
+#include <algorithm>
+
#define BUGGY_PCALL_ERROR "667: Malformed response to guarded pcall."
#define BUGGY_SCRIPT_ERROR "666: Killing badly-behaved Lua script."