summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSandro Mani <manisandro@gmail.com>2016-07-20 15:56:32 +0200
committerSandro Mani <manisandro@gmail.com>2016-07-20 15:56:32 +0200
commit833bc7705377a34058decbbfe4d9df10f6b793bb (patch)
treed4046cfb1d016ed2beadbe388519e7789a1e42ff /src
parent4a94b244b7b8572fe3e38e690162dc4ed5aaeb31 (diff)
downloadtwinkle-833bc7705377a34058decbbfe4d9df10f6b793bb.tar
twinkle-833bc7705377a34058decbbfe4d9df10f6b793bb.tar.gz
twinkle-833bc7705377a34058decbbfe4d9df10f6b793bb.tar.lz
twinkle-833bc7705377a34058decbbfe4d9df10f6b793bb.tar.xz
twinkle-833bc7705377a34058decbbfe4d9df10f6b793bb.zip
Enclose gsm.h includes with extern C to resolve link failures
Diffstat (limited to 'src')
-rw-r--r--src/audio/audio_decoder.h2
-rw-r--r--src/audio/audio_encoder.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/audio/audio_decoder.h b/src/audio/audio_decoder.h
index 48ef29c..25d895c 100644
--- a/src/audio/audio_decoder.h
+++ b/src/audio/audio_decoder.h
@@ -26,7 +26,9 @@
#include "user.h"
#ifdef HAVE_GSM
+extern "C" {
#include <gsm/gsm.h>
+}
#else
#include "gsm/inc/gsm.h"
#endif
diff --git a/src/audio/audio_encoder.h b/src/audio/audio_encoder.h
index b900414..907283f 100644
--- a/src/audio/audio_encoder.h
+++ b/src/audio/audio_encoder.h
@@ -26,7 +26,9 @@
#include "user.h"
#ifdef HAVE_GSM
+extern "C" {
#include <gsm/gsm.h>
+}
#else
#include "gsm/inc/gsm.h"
#endif