From c364a599f7124c9165629e72a5c9f267c937ed28 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 2 Feb 2019 14:28:42 +0100 Subject: blogc: fix rusage macro --- src/blogc/rusage.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/blogc/rusage.h b/src/blogc/rusage.h index d94aebd..4065552 100644 --- a/src/blogc/rusage.h +++ b/src/blogc/rusage.h @@ -9,9 +9,13 @@ #ifndef ___RUSAGE_H #define ___RUSAGE_H +#ifdef HAVE_CONFIG_H +#include +#endif /* HAVE_CONFIG_H */ + #ifdef HAVE_SYS_RESOURCE_H -#define HAVE_RUSAGE -#endif +#define HAVE_RUSAGE 1 +#endif /* HAVE_SYS_RESOURCE_H */ typedef struct { long long cpu_time; // in microseconds -- cgit v1.2.3-18-g5258