diff options
author | George Joseph <gjoseph@digium.com> | 2017-09-25 06:25:06 -0600 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2017-09-25 07:32:14 -0500 |
commit | 4275ca16a147c1772a700c1cfda3983ecec6c79d (patch) | |
tree | 4bbee51631065f0a7aba351fb8d12cff93fdb7e2 /channels/chan_dahdi.c | |
parent | 1b468b543db6686879c4e004d8172d475c13d25b (diff) |
build: A few gcc 7 error fixes
Change-Id: I7b5300fbf1af7d88d47129db13ad6dbdc9b553ec
Diffstat (limited to 'channels/chan_dahdi.c')
-rw-r--r-- | channels/chan_dahdi.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <signal.h> #include <sys/stat.h> #include <math.h> +#include <sys/sysmacros.h> #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; |