diff -ruN zaptel-1.2.25.orig/xpp/utils/Makefile zaptel-1.2.25/xpp/utils/Makefile --- zaptel-1.2.25.orig/xpp/utils/Makefile 2008-04-09 19:27:21.000000000 +0200 +++ zaptel-1.2.25/xpp/utils/Makefile 2008-04-09 19:22:34.000000000 +0200 @@ -126,8 +126,8 @@ 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 -ruN zaptel-1.2.25.orig/xpp/utils/print_modes.c zaptel-1.2.25/xpp/utils/print_modes.c --- zaptel-1.2.25.orig/xpp/utils/print_modes.c 2008-04-09 19:23:20.000000000 +0200 +++ zaptel-1.2.25/xpp/utils/print_modes.c 2008-04-09 19:23:51.000000000 +0200 @@ -1,6 +1,6 @@ #include -#include "wctdm_fxomodes.h" +#include "fxo_modes.h" int main() { size_t i;