--- fbreader/src/fbreader/FBView.cpp.orig	2014-01-11 12:45:25 UTC
+++ fbreader/src/fbreader/FBView.cpp
@@ -18,6 +18,7 @@
  */
 
 #include <cmath>
+#include <cstdlib>
 #include <algorithm>
 
 #include <ZLUnicodeUtil.h>
