[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#671995: compiz: ftbfs with GCC-4.7

tags 671995 + patch

On 08/05/12 20:56, Matthias Klose wrote:
> The build failure is exposed by building with gcc-4.7/g++-4.7,
> which is now the default gcc/g++ on x86 architectures.

Please find attached a patch to fix this FTBFS.

Sebastian Ramacher
--- compiz-0.8.4.orig/kde/window-decorator/window.cpp
+++ compiz-0.8.4/kde/window-decorator/window.cpp
@@ -54,6 +54,8 @@
 #include <qcursor.h>
 #include <qpopupmenu.h>
+#include <unistd.h>
 KWD::Window::Window (WId  parentId,
 		     WId  clientId,
 		     WId  frame,
--- compiz-0.8.4.orig/kde/window-decorator-kde4/window.cpp
+++ compiz-0.8.4/kde/window-decorator-kde4/window.cpp
@@ -57,6 +57,8 @@
 #include <QStyle>
 #include <QPainter>
+#include <unistd.h>
 #include "paintredirector.h"
 KWD::Window::Window (WId  parentId,

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: