[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    icecream/daemon
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2012-07-22 18:21:26
Message-ID: 20120722182126.5139AAC7AB () svn ! kde ! org
[Download RAW message or body]

SVN commit 1307255 by lunakl:

always include headers that are needed for struct rusage and sigprocmask()

Patch by Lucas De Marchi <lucas.de.marchi@gmail.com> .



 M  +2 -2      workit.cpp  


--- trunk/icecream/daemon/workit.cpp #1307254:1307255
@@ -38,14 +38,14 @@
 #include <unistd.h>
 #include <sys/fcntl.h>
 #include <sys/wait.h>
+#include <signal.h>
+#include <sys/resource.h>
 #if HAVE_SYS_USER_H && !defined(__DragonFly__)
 #  include <sys/user.h>
 #endif
 #include <sys/socket.h>
 
 #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__APPLE__)
-#include <signal.h>
-#include <sys/resource.h>
 #ifndef RUSAGE_SELF
 #define   RUSAGE_SELF     (0)
 #endif
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic