mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 17:07:14 +08:00
23 lines
600 B
Diff
23 lines
600 B
Diff
|
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&a=commitdiff&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;
|
||
|
|
||
|
|