aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc/rusage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc/rusage.h')
-rw-r--r--src/blogc/rusage.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/blogc/rusage.h b/src/blogc/rusage.h
index 3441630..6344066 100644
--- a/src/blogc/rusage.h
+++ b/src/blogc/rusage.h
@@ -13,9 +13,11 @@
#include <config.h>
#endif /* HAVE_CONFIG_H */
+#ifdef HAVE_SYS_TIME_H
#ifdef HAVE_SYS_RESOURCE_H
#define HAVE_RUSAGE 1
-#endif /* HAVE_SYS_RESOURCE_H */
+#endif
+#endif
#include "../common/utils.h"