summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/cChunkMap.cpp1
-rw-r--r--source/cWebAdmin.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/source/cChunkMap.cpp b/source/cChunkMap.cpp
index d3dba0510..4e9fd5c62 100644
--- a/source/cChunkMap.cpp
+++ b/source/cChunkMap.cpp
@@ -11,6 +11,7 @@
#ifndef _WIN32
#include <cstring> // memcpy
#include <cstdlib> // abs
+ #include <memory> // auto_ptr
#endif
#include "zlib.h"
diff --git a/source/cWebAdmin.cpp b/source/cWebAdmin.cpp
index 005a85424..002505c1f 100644
--- a/source/cWebAdmin.cpp
+++ b/source/cWebAdmin.cpp
@@ -21,6 +21,7 @@
#include <psapi.h>
#else
#include <sys/resource.h>
+ #include <memory> // auto_ptr
#endif