summaryrefslogtreecommitdiff
path: root/sethdlc.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-05-23 15:16:24 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-05-23 15:16:24 +0000
commit04128951db339ddfd7905adf92990f00a3a01447 (patch)
treefed6cec907ec871794693772483db9bd04e0422d /sethdlc.c
parente027cd533ab52f09186f1bd4cd33e0f3aac0363c (diff)
yay, all the tools compile now
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4339 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'sethdlc.c')
-rw-r--r--sethdlc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sethdlc.c b/sethdlc.c
index 09f8348..26f9dcb 100644
--- a/sethdlc.c
+++ b/sethdlc.c
@@ -22,7 +22,8 @@
#include <sys/socket.h>
#include <linux/if.h>
#include <linux/sockios.h>
-#include "kernel/zaptel.h"
+
+#include <dahdi/user.h>
#if GENERIC_HDLC_VERSION != 4
#error Generic HDLC layer version mismatch, please get correct sethdlc.c
@@ -674,7 +675,7 @@ int main(int arg_c, char *arg_v[])
if (sock < 0)
error("Unable to create socket: %s\n", strerror(errno));
- zap_copy_string(req.ifr_name, argv[1], sizeof(req.ifr_name)); /* Device name */
+ dahdi_copy_string(req.ifr_name, argv[1], sizeof(req.ifr_name)); /* Device name */
if (argc == 2)
show_port();