summaryrefslogtreecommitdiff
path: root/rest-api-templates
diff options
context:
space:
mode:
Diffstat (limited to 'rest-api-templates')
-rw-r--r--rest-api-templates/res_stasis_json_resource.c.mustache1
-rw-r--r--rest-api-templates/stasis_json_resource.h.mustache1
2 files changed, 2 insertions, 0 deletions
diff --git a/rest-api-templates/res_stasis_json_resource.c.mustache b/rest-api-templates/res_stasis_json_resource.c.mustache
index 039830270..a55389c07 100644
--- a/rest-api-templates/res_stasis_json_resource.c.mustache
+++ b/rest-api-templates/res_stasis_json_resource.c.mustache
@@ -49,6 +49,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "stasis_json/resource_{{name}}.h"
{{#has_events}}
#include "asterisk/stasis_channels.h"
+#include "asterisk/stasis_bridging.h"
{{#events}}
{{> event_function_decl}}
diff --git a/rest-api-templates/stasis_json_resource.h.mustache b/rest-api-templates/stasis_json_resource.h.mustache
index f55e830bd..8cfd2c1f7 100644
--- a/rest-api-templates/stasis_json_resource.h.mustache
+++ b/rest-api-templates/stasis_json_resource.h.mustache
@@ -38,6 +38,7 @@
{{#has_events}}
struct ast_channel_snapshot;
+struct ast_bridge_snapshot;
{{#events}}
/*!