From b30151005acff78fbe0713db984fdf5711f51e59 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Wed, 9 Apr 2008 05:14:58 +0000 Subject: Backport some fxo_modes changes from 1.4 to make xpp/utils build again. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4157 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- xpp/utils/Makefile | 4 ++-- xpp/utils/print_modes.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'xpp') diff --git a/xpp/utils/Makefile b/xpp/utils/Makefile index d880842..b38f425 100644 --- a/xpp/utils/Makefile +++ b/xpp/utils/Makefile @@ -126,8 +126,8 @@ test_parse.o: test_parse.c hexfile.h test_parse: test_parse.o libhexfile.a $(CC) -L. -o $@ $@.o $(EXTRA_LIBS) -lhexfile -lusb -print_modes: print_modes.c wctdm_fxomodes.h - $(HOSTCC) -o $@ $(CFLAGS) $< +print_modes: print_modes.c $(ZAP_KERNEL)/fxo_modes.h + $(HOSTCC) -I$(ZAP_KERNEL) -o $@ $(CFLAGS) $< wctdm_fxomodes.h: $(WCTDM) perl -n -e 'print if (/^static struct fxo_mode {$$/ .. /};$$/)' $(WCTDM) >$@ diff --git a/xpp/utils/print_modes.c b/xpp/utils/print_modes.c index 6312bd1..e894b11 100644 --- a/xpp/utils/print_modes.c +++ b/xpp/utils/print_modes.c @@ -1,6 +1,6 @@ #include -#include "wctdm_fxomodes.h" +#include "fxo_modes.h" int main() { size_t i; -- cgit v1.2.3