aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-10-02 17:25:18 +0800
committermarino <marino@FreeBSD.org>2013-10-02 17:25:18 +0800
commita1140ed2d09ae8c7b17e999200210e795f85df08 (patch)
treed44b551318bbbf13016226d8afa0ee4b7832f38f /devel
parenta7d34b4e7d5f37a4f4766e0e54d4fc045ccce604 (diff)
downloadfreebsd-ports-gnome-a1140ed2d09ae8c7b17e999200210e795f85df08.tar.gz
freebsd-ports-gnome-a1140ed2d09ae8c7b17e999200210e795f85df08.tar.zst
freebsd-ports-gnome-a1140ed2d09ae8c7b17e999200210e795f85df08.zip
devel/qt4-qtsolutions-singleapplication: add <unistd.h> for modern compilers
Approved by: portmgr (bapt, implicit)
Diffstat (limited to 'devel')
-rw-r--r--devel/qt4-qtsolutions-singleapplication/files/patch-src_qtlocalpeer.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/qt4-qtsolutions-singleapplication/files/patch-src_qtlocalpeer.cpp b/devel/qt4-qtsolutions-singleapplication/files/patch-src_qtlocalpeer.cpp
new file mode 100644
index 000000000000..fa401718e146
--- /dev/null
+++ b/devel/qt4-qtsolutions-singleapplication/files/patch-src_qtlocalpeer.cpp
@@ -0,0 +1,10 @@
+--- src/qtlocalpeer.cpp.orig 2011-06-03 10:11:13.000000000 +0000
++++ src/qtlocalpeer.cpp
+@@ -49,6 +49,7 @@ typedef BOOL(WINAPI*PProcessIdToSessionI
+ static PProcessIdToSessionId pProcessIdToSessionId = 0;
+ #endif
+ #if defined(Q_OS_UNIX)
++#include <unistd.h>
+ #include <time.h>
+ #endif
+