aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/blogc/rusage.h8
1 files 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 <config.h>
+#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