From eaf2adbe3147264be464b844996e98a370db48e6 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 29 Jul 2008 22:05:03 +0000 Subject: build against the new dahdi/user.h (which is now typedef-free!) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4629 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- patgen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'patgen.c') diff --git a/patgen.c b/patgen.c index d0ab61c..570a2b8 100644 --- a/patgen.c +++ b/patgen.c @@ -29,7 +29,7 @@ int main(int argc, char *argv[]) { int fd; int res, res1, x; - DAHDI_PARAMS tp; + struct dahdi_params tp; int bs = BLOCK_SIZE; unsigned char c=0; unsigned char outbuf[BLOCK_SIZE]; @@ -65,7 +65,7 @@ int main(int argc, char *argv[]) res1 = write(fd, outbuf, res); if (res1 < res) { int e; - DAHDI_SPANINFO zi; + struct dahdi_spaninfo zi; res = ioctl(fd,DAHDI_GETEVENT,&e); if (res == -1) { -- cgit v1.2.3