From: Ville Ranki Date: Wed, 20 Mar 2013 11:52:12 +0000 (+0200) Subject: Fix compilation on gcc => 4.7.0 by including unistd.h X-Git-Tag: upstream/0.9.0~4^2~43 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f41fdad301018fa43d3f220f2d6f8fca65e5548e;p=deb_shairplay.git Fix compilation on gcc => 4.7.0 by including unistd.h Same issue as here: http://code.google.com/p/photivo/issues/detail?id=99 --- diff --git a/AirTV-Qt/qtsingleapplication/src/qtlocalpeer.cpp b/AirTV-Qt/qtsingleapplication/src/qtlocalpeer.cpp index 382d182..35bc266 100644 --- a/AirTV-Qt/qtsingleapplication/src/qtlocalpeer.cpp +++ b/AirTV-Qt/qtsingleapplication/src/qtlocalpeer.cpp @@ -41,6 +41,7 @@ #include "qtlocalpeer.h" #include #include +#include #if defined(Q_OS_WIN) #include