diff --git a/src/mod/codecs/mod_amr/Makefile b/src/mod/codecs/mod_amr/Makefile index 976c264f5c..f7d34f9a86 100644 --- a/src/mod/codecs/mod_amr/Makefile +++ b/src/mod/codecs/mod_amr/Makefile @@ -1,5 +1,5 @@ CFLAGS += -I$(PREFIX)/include/amr -LDFLAGS +=-lamr +LDFLAGS +=-lamrnb all: $(MODNAME).$(DYNAMIC_LIB_EXTEN) diff --git a/src/mod/codecs/mod_amr/mod_amr.c b/src/mod/codecs/mod_amr/mod_amr.c index ca8368393b..0e012dc2bf 100644 --- a/src/mod/codecs/mod_amr/mod_amr.c +++ b/src/mod/codecs/mod_amr/mod_amr.c @@ -32,7 +32,7 @@ * */ #include "switch.h" -#include "amr.h" +#include "amr-nb/amr-nb.h" /* * Check section 8.1 of rfc3267 for possible sdp options.