diff options
author | Sandro Mani <manisandro@gmail.com> | 2016-07-20 15:56:32 +0200 |
---|---|---|
committer | Sandro Mani <manisandro@gmail.com> | 2016-07-20 15:56:32 +0200 |
commit | 833bc7705377a34058decbbfe4d9df10f6b793bb (patch) | |
tree | d4046cfb1d016ed2beadbe388519e7789a1e42ff /src | |
parent | 4a94b244b7b8572fe3e38e690162dc4ed5aaeb31 (diff) | |
download | twinkle-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.h | 2 | ||||
-rw-r--r-- | src/audio/audio_encoder.h | 2 |
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 |