summaryrefslogtreecommitdiff
path: root/channels/chan_dahdi.c
diff options
context:
space:
mode:
authorGeorge Joseph <gjoseph@digium.com>2017-09-25 06:25:06 -0600
committerGeorge Joseph <gjoseph@digium.com>2017-09-25 07:31:38 -0500
commit1fad858934d53cf86a1bf0b8e5f2be6b5cef3ac6 (patch)
treeb324ca1125aed577d52548d6fe5c825fd9211213 /channels/chan_dahdi.c
parent3c37ef567d4e45e29fb8501a488cd64c769eed6d (diff)
build: A few gcc 7 error fixes
Change-Id: I7b5300fbf1af7d88d47129db13ad6dbdc9b553ec
Diffstat (limited to 'channels/chan_dahdi.c')
-rw-r--r--channels/chan_dahdi.c3
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;