summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/mon-abil.cc2
-rw-r--r--crawl-ref/source/monster.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-abil.cc b/crawl-ref/source/mon-abil.cc
index ccb23fc38b..65a73da307 100644
--- a/crawl-ref/source/mon-abil.cc
+++ b/crawl-ref/source/mon-abil.cc
@@ -39,6 +39,8 @@
#include "shout.h"
#include "viewchar.h"
+#include <algorithm>
+
bool ugly_thing_mutate(monsters *ugly, bool proximity)
{
bool success = false;
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc
index 938ff0e2a9..e0de4331ed 100644
--- a/crawl-ref/source/monster.cc
+++ b/crawl-ref/source/monster.cc
@@ -42,6 +42,8 @@
#include "shout.h"
#include "xom.h"
+#include <algorithm>
+
struct mon_spellbook
{
mon_spellbook_type type;