summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-07-23 21:37:29 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-07-23 21:37:29 +0200
commit8f7ec5c701feb01521b3b97e75778fd96fcc7981 (patch)
treef6a3834505bcde1d8e260f222abe686aa894debe /modules
parent7b4de472d27e9fe5201a8e0b847e5b2281b71452 (diff)
plc,g7221: add XXX_EXPOSE_INTERNAL_STRUCTURES
ensure that baresip will build with any version of G.722.1 and SpanDSP libraries. thanks to Steve Underwood for the patch
Diffstat (limited to 'modules')
-rw-r--r--modules/g7221/decode.c3
-rw-r--r--modules/g7221/encode.c3
-rw-r--r--modules/plc/plc.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/modules/g7221/decode.c b/modules/g7221/decode.c
index 6977a12..0f7155f 100644
--- a/modules/g7221/decode.c
+++ b/modules/g7221/decode.c
@@ -6,6 +6,9 @@
#include <re.h>
#include <baresip.h>
+
+#define G722_1_EXPOSE_INTERNAL_STRUCTURES
+
#include <g722_1.h>
#include "g7221.h"
diff --git a/modules/g7221/encode.c b/modules/g7221/encode.c
index 8bb5b2b..8345f5f 100644
--- a/modules/g7221/encode.c
+++ b/modules/g7221/encode.c
@@ -6,6 +6,9 @@
#include <re.h>
#include <baresip.h>
+
+#define G722_1_EXPOSE_INTERNAL_STRUCTURES
+
#include <g722_1.h>
#include "g7221.h"
diff --git a/modules/plc/plc.c b/modules/plc/plc.c
index 9f703c1..8c040a1 100644
--- a/modules/plc/plc.c
+++ b/modules/plc/plc.c
@@ -3,6 +3,9 @@
*
* Copyright (C) 2010 Creytiv.com
*/
+
+#define SPANDSP_EXPOSE_INTERNAL_STRUCTURES
+
#include <spandsp.h>
#include <re.h>
#include <baresip.h>