aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd/logger.c')
-rw-r--r--sysklogd/logger.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c
index e2d074605..60eac6ae6 100644
--- a/sysklogd/logger.c
+++ b/sysklogd/logger.c
@@ -11,7 +11,10 @@
#if !defined CONFIG_SYSLOGD
+/* SYSLOG_NAMES defined to pull prioritynames[] and facilitynames[]
+ * from syslog.h. Grrrr - glibc puts those in _rwdata_! :( */
#define SYSLOG_NAMES
+#define SYSLOG_NAMES_CONST /* uclibc is saner :) */
#include <sys/syslog.h>
#else