summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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