summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/gsm/gstgsmdec.h4
-rw-r--r--ext/gsm/gstgsmenc.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/ext/gsm/gstgsmdec.h b/ext/gsm/gstgsmdec.h
index d46c5cd1..a08e857e 100644
--- a/ext/gsm/gstgsmdec.h
+++ b/ext/gsm/gstgsmdec.h
@@ -25,7 +25,11 @@
#include <config.h>
#include <gst/gst.h>
+#ifdef GSM_HEADER_IN_SUBDIR
+#include <gsm/gsm.h>
+#else
#include <gsm.h>
+#endif
#ifdef __cplusplus
extern "C" {
diff --git a/ext/gsm/gstgsmenc.h b/ext/gsm/gstgsmenc.h
index dcaa8566..a56099e1 100644
--- a/ext/gsm/gstgsmenc.h
+++ b/ext/gsm/gstgsmenc.h
@@ -25,7 +25,11 @@
#include <config.h>
#include <gst/gst.h>
+#ifdef GSM_HEADER_IN_SUBDIR
+#include <gsm/gsm.h>
+#else
#include <gsm.h>
+#endif
#ifdef __cplusplus
extern "C" {