summaryrefslogtreecommitdiff
blob: ae8c4eca7b8ee3b0e265d09dd8e5d33a83bc35e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 9cb09430444e36415e887317525a24e542e135fb Mon Sep 17 00:00:00 2001
From: Michael Palimaka <kensington@gentoo.org>
Date: Fri, 31 Aug 2012 02:15:30 +1000
Subject: [PATCH] Fix build with GCC 4.7.

---
 single_inst/qtlocalpeer.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/single_inst/qtlocalpeer.cpp b/single_inst/qtlocalpeer.cpp
index 6d7c24f..f9663c9 100644
--- a/single_inst/qtlocalpeer.cpp
+++ b/single_inst/qtlocalpeer.cpp
@@ -50,6 +50,7 @@ static PProcessIdToSessionId pProcessIdToSessionId = 0;
 #endif
 #if defined(Q_OS_UNIX)
 #include <time.h>
+#include <unistd.h>
 #endif
 
 namespace QtLP_Private {
-- 
1.7.12