Fix compilation on gcc => 4.7.0 by including unistd.h
authorVille Ranki <ville.ranki@iki.fi>
Wed, 20 Mar 2013 11:52:12 +0000 (13:52 +0200)
committerVille Ranki <ville.ranki@iki.fi>
Wed, 20 Mar 2013 11:52:12 +0000 (13:52 +0200)
Same issue as here: http://code.google.com/p/photivo/issues/detail?id=99

AirTV-Qt/qtsingleapplication/src/qtlocalpeer.cpp

index 382d182dcb85027025f120edf6e2142c096e68c3..35bc266ae146c2abbcec5eb7bf43c36ceca9923c 100644 (file)
@@ -41,6 +41,7 @@
 #include "qtlocalpeer.h"
 #include <QtCore/QCoreApplication>
 #include <QtCore/QTime>
+#include <unistd.h>
 
 #if defined(Q_OS_WIN)
 #include <QtCore/QLibrary>