Fix crashes on x-thread signal emission.
[dcpomatic.git] / src / lib / rect.h
index 1feb8ad4fed460d19a9f83439e21bdd0abcc1ea0..963119b507b793998d370ffdf1acd786af1dbe9b 100644 (file)
@@ -21,6 +21,7 @@
 #define DCPOMATIC_RECT_H
 
 #include "position.h"
+#include <algorithm>
 
 /* Put this inside a namespace as Apple put a Rect in the global namespace */