summaryrefslogtreecommitdiff
path: root/extra/strigi/gcc47.patch
blob: d99582563e47f81ede8b3dfd5ec106160bb58cf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Rex Dieter <rdieter@fedoraproject.org>
Date: Mon, 09 Jan 2012 17:13:25 +0000
Subject: gcc47 fix, unistd.h header required unconditionally for 'sleep'
X-Git-Url: http://quickgit.kde.org/?p=strigidaemon.git&amp;a=commitdiff&amp;h=a8e97f672325557b3fbc84b987299350ec5ac10b
---
gcc47 fix, unistd.h header required unconditionally for 'sleep'
---


--- a/bin/daemon/eventlistener/eventlistenerqueue.cpp
+++ b/bin/daemon/eventlistener/eventlistenerqueue.cpp
@@ -27,9 +27,7 @@
 #include <iostream>
 #include <stdio.h>
 
-#if defined(__SUNPRO_CC)
 #include <unistd.h>
-#endif
 
 using namespace std;