summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-01-07 10:39:44 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-01-07 10:40:08 -0500
commitd7351459691c8cac990ec409139e94f42a89b465 (patch)
treea77145591687107283a94cdb67a2a64686b1c1c6
parent34244b3c69d8472853440b8030244e72d3e0baf0 (diff)
fix missing symbol on OS X
-rw-r--r--libs/backends/jack/weak_libjack.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libs/backends/jack/weak_libjack.h b/libs/backends/jack/weak_libjack.h
index 0f98de3e51..c171a23c9c 100644
--- a/libs/backends/jack/weak_libjack.h
+++ b/libs/backends/jack/weak_libjack.h
@@ -195,7 +195,13 @@ int have_libjack(void);
#endif
// prototype for function currently only available in jack1 headers
-int jack_port_rename (jack_client_t* client, jack_port_t *port, const char *port_name);
+#ifdef __cplusplus
+extern "C" {
+#endif
+ int jack_port_rename (jack_client_t* client, jack_port_t *port, const char *port_name);
+#ifdef __cplusplus
+}
+#endif
#ifdef USE_WEAK_JACK