summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-09-11 10:39:29 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-09-11 10:39:29 +0200
commitb321b93286006851bec47e6a8c0cd03ba3b72c26 (patch)
tree756ad802eea1ee61942a4b499127832a0ebf8306 /src
parentcc7d9ec20e3ee2cda8d3df3192e7b02a67cda1d7 (diff)
vty: Address compiler warning about tolower
Include ctype.h to have a declaration of tolower. utils.c: In function 'vty_cmd_string_from_valstr': utils.c:95:6: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration]
Diffstat (limited to 'src')
-rw-r--r--src/vty/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vty/utils.c b/src/vty/utils.c
index abf0ac49..e9c0d2d7 100644
--- a/src/vty/utils.c
+++ b/src/vty/utils.c
@@ -23,6 +23,7 @@
#include <stdint.h>
#include <inttypes.h>
#include <string.h>
+#include <ctype.h>
#include <osmocom/core/linuxlist.h>
#include <osmocom/core/talloc.h>