]> git.sesse.net Git - mlt/commitdiff
Patch to build with GCC 4.7
authorRyan Rix <ry@n.rix.si>
Fri, 27 Jan 2012 22:07:01 +0000 (15:07 -0700)
committerDan Dennedy <dan@dennedy.org>
Sat, 11 Feb 2012 18:18:59 +0000 (10:18 -0800)
Built and tested downstream in RPMFusion. This addresses some changes
in how GCC 4.7 no longer uses unistd by default to keep the global
namespace sane.

src/modules/qimage/qimage_wrapper.cpp

index abcef45449b2a332b5203eb820b961d964ba30a2..d7b2903d421afe93fd2475e626a73480da29a40e 100644 (file)
@@ -48,6 +48,7 @@
 #endif
 
 #include <cmath>
+#include <unistd.h>
 
 extern "C" {