From 1fad858934d53cf86a1bf0b8e5f2be6b5cef3ac6 Mon Sep 17 00:00:00 2001 From: George Joseph Date: Mon, 25 Sep 2017 06:25:06 -0600 Subject: build: A few gcc 7 error fixes Change-Id: I7b5300fbf1af7d88d47129db13ad6dbdc9b553ec --- channels/chan_dahdi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'channels/chan_dahdi.c') diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 4f717ffac..828753a05 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -60,6 +60,7 @@ #include #include #include +#include #include "sig_analog.h" /* Analog signaling is currently still present in chan_dahdi for use with @@ -14210,7 +14211,7 @@ static char *handle_pri_service_generic(struct ast_cli_entry *e, int cmd, struct int trunkgroup; int x, y, fd = a->fd; int interfaceid = 0; - char db_chan_name[20], db_answer[5]; + char db_chan_name[20], db_answer[15]; struct dahdi_pvt *tmp; struct dahdi_pri *pri; -- cgit v1.2.3