From f865c8387b8b93115c2b0d3c0d67619cd9ef6a1e Mon Sep 17 00:00:00 2001 From: Dong Junfeng Date: Thu, 20 Jun 2013 00:14:18 -0700 Subject: Fixed the build error with 3.0 Fixed the error: aggregate 'rusage ru' has incomplete type Change-Id: I48dd09abd3ff4ec08cade39234fdf9bb3e3b1140 Signed-off-by: Dong Junfeng --- daemon/workit.cpp | 2 -- 1 file changed, 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 -#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__APPLE__) #include #include #ifndef RUSAGE_SELF @@ -52,7 +51,6 @@ #ifndef RUSAGE_CHILDREN #define RUSAGE_CHILDREN (-1) #endif -#endif #include #include -- cgit v1.2.3