summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/os_news.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/os_news.c b/src/core/os_news.c
index 30ae8a090..68cb827f9 100644
--- a/src/core/os_news.c
+++ b/src/core/os_news.c
@@ -14,6 +14,8 @@
#include "module.h"
+#define lenof(a) (sizeof(a) / sizeof(*(a)))
+
/* List of messages for each news type. This simplifies message sending. */
#define MSG_SYNTAX 0