summaryrefslogtreecommitdiff
path: root/utils/log_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/log_util.h')
-rw-r--r--utils/log_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/log_util.h b/utils/log_util.h
index 957f284..26387e9 100644
--- a/utils/log_util.h
+++ b/utils/log_util.h
@@ -52,7 +52,7 @@
#endif /* LOG_TAG */
// LE targets with no logcat support
-#ifdef FEATURE_EXTERNAL_AP
+#if defined(FEATURE_EXTERNAL_AP) || defined(USE_SYSLOG_LOGGING)
#include <syslog.h>
#define ALOGE(...) syslog(LOG_ERR, "LOC_LOGE: " __VA_ARGS__);
#define ALOGW(...) syslog(LOG_WARNING, "LOC_LOGW: " __VA_ARGS__);