Index: src/mempager.cpp
--- src/mempager.cpp.orig
+++ src/mempager.cpp
@@ -36,6 +36,7 @@
 // If you do not wish that, delete this exception notice.
 //
 
+#include <cstdlib>
 #include <cc++/config.h>
 #include <cc++/export.h>
 #include <cc++/slog.h>
