aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asterisk/logger.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h
index 544fcc3d4..cf33e48f2 100644
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -25,6 +25,8 @@
#ifndef _ASTERISK_LOGGER_H
#define _ASTERISK_LOGGER_H
+#include "asterisk/options.h" /* need option_debug */
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif