summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDong Junfeng <junfeng.dong@intel.com>2013-06-20 00:14:18 -0700
committerDong Junfeng <junfeng.dong@intel.com>2013-06-20 00:14:18 -0700
commitf865c8387b8b93115c2b0d3c0d67619cd9ef6a1e (patch)
tree1b8d0428c5dc984c464ba4ab97da8404a8bfaaf2
parent3c3941d609de3838d73b69bade22747b2a8fd30f (diff)
downloadicecream-f865c8387b8b93115c2b0d3c0d67619cd9ef6a1e.tar.gz
icecream-f865c8387b8b93115c2b0d3c0d67619cd9ef6a1e.tar.bz2
icecream-f865c8387b8b93115c2b0d3c0d67619cd9ef6a1e.zip
Fixed the error: aggregate 'rusage ru' has incomplete type Change-Id: I48dd09abd3ff4ec08cade39234fdf9bb3e3b1140 Signed-off-by: Dong Junfeng <junfeng.dong@intel.com>
-rw-r--r--daemon/workit.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/daemon/workit.cpp b/daemon/workit.cpp
index 286af5c..f8b5505 100644
--- a/daemon/workit.cpp
+++ b/daemon/workit.cpp
@@ -43,7 +43,6 @@
#endif
#include <sys/socket.h>
-#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__APPLE__)
#include <signal.h>
#include <sys/resource.h>
#ifndef RUSAGE_SELF
@@ -52,7 +51,6 @@
#ifndef RUSAGE_CHILDREN
#define RUSAGE_CHILDREN (-1)
#endif
-#endif
#include <stdio.h>
#include <errno.h>