--- src/FrameDetect/CompareFrames.h.orig	2016-11-22 17:45:10 UTC
+++ src/FrameDetect/CompareFrames.h
@@ -14,6 +14,7 @@
 #define __COMPARE_FRAMES_H
 
 #include <ComicFrame.h>
+#include <cstdlib>
 
 namespace QComicBook
 {
