slackbuilds_ponce/multimedia/xvst/gcc-4.7.patch
Larry Hajali 33decf6c86 multimedia/xvst: Fixed to compile against gcc 4.7.x
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-07-29 22:23:38 -05:00

11 lines
430 B
Diff

diff -Naur xvst.orig/src/qtsingleapplication/src/qtlocalpeer.cpp xvst/src/qtsingleapplication/src/qtlocalpeer.cpp
--- xvst.orig/src/qtsingleapplication/src/qtlocalpeer.cpp 2009-10-12 03:43:46.000000000 +0000
+++ xvst/src/qtsingleapplication/src/qtlocalpeer.cpp 2012-07-02 04:24:37.152806791 +0000
@@ -57,6 +57,7 @@
#endif
#if defined(Q_OS_UNIX)
#include <time.h>
+#include <unistd.h>
#endif
namespace QtLP_Private {