summaryrefslogtreecommitdiff
path: root/xpp
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-04-09 05:14:58 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-04-09 05:14:58 +0000
commitb30151005acff78fbe0713db984fdf5711f51e59 (patch)
treeac5ed540f64472c540a28ef7e7c7f08b8b13cd96 /xpp
parent5a17ddcc2432fb949880d277927c9a77d120c73e (diff)
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
Diffstat (limited to 'xpp')
-rw-r--r--xpp/utils/Makefile4
-rw-r--r--xpp/utils/print_modes.c2
2 files changed, 3 insertions, 3 deletions
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 <stdio.h>
-#include "wctdm_fxomodes.h"
+#include "fxo_modes.h"
int main() {
size_t i;