From c5eed4dcc122ec0707280e2dc098fc9f9394a6de Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <rafael.carre@gmail.com>
Date: Wed, 15 Apr 2009 22:25:08 +0200
Subject: [PATCH 2/2] Wrappers: fix compilation with CPU_BOOST_LOGGING defined

---
 apps/plugins/lib/wrappers.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/apps/plugins/lib/wrappers.h b/apps/plugins/lib/wrappers.h
index bb904ff..5eb45d0 100644
--- a/apps/plugins/lib/wrappers.h
+++ b/apps/plugins/lib/wrappers.h
@@ -36,8 +36,12 @@
 #define lseek rb->lseek
 #define memset rb->memset
 #ifdef HAVE_ADJUSTABLE_CPU_FREQ
+#ifdef CPU_BOOST_LOGGING
+#define cpu_boost_ rb->cpu_boost_
+#else
 #define cpu_boost rb->cpu_boost
 #endif
+#endif
 #define yield rb->yield
 #define file_exists rb->file_exists
 #define snprintf rb->snprintf
-- 
1.6.1.3

