summaryrefslogtreecommitdiffstats
path: root/libsensors_iio/software/core/driver/include/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsensors_iio/software/core/driver/include/log.h')
-rw-r--r--libsensors_iio/software/core/driver/include/log.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libsensors_iio/software/core/driver/include/log.h b/libsensors_iio/software/core/driver/include/log.h
index 0a747ce..c519691 100644
--- a/libsensors_iio/software/core/driver/include/log.h
+++ b/libsensors_iio/software/core/driver/include/log.h
@@ -37,8 +37,8 @@
#ifndef _LIBS_CUTILS_MPL_LOG_H
#define _LIBS_CUTILS_MPL_LOG_H
+#include <stdlib.h>
#include <stdarg.h>
-#include "local_log_def.h"
#ifdef ANDROID
#ifdef NDK_BUILD
@@ -56,6 +56,7 @@
extern "C" {
#endif
+
/* --------------------------------------------------------------------- */
/*
@@ -287,7 +288,7 @@ extern "C" {
#ifndef MPL_LOG_PRI
#ifdef ANDROID
#define MPL_LOG_PRI(priority, tag, fmt, ...) \
- LOG(priority, tag, fmt, ##__VA_ARGS__)
+ ALOG(priority, tag, fmt, ##__VA_ARGS__)
#elif defined __KERNEL__
#define MPL_LOG_PRI(priority, tag, fmt, ...) \
pr_debug(MPL_##priority tag fmt, ##__VA_ARGS__)