summaryrefslogtreecommitdiff
path: root/libavcodec/libgsmdec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-11-11 18:04:22 -0300
committerJames Almer <jamrial@gmail.com>2017-11-11 18:04:22 -0300
commitfb94e7b39a170d4b7fdf66e5d997525a76f12ab2 (patch)
tree38245f686288a748c0034c5b0eab6bbd23a85786 /libavcodec/libgsmdec.c
parent8725cf424c90e7177e0b920e4a10bd60f4b80c38 (diff)
Revert "Merge commit '8e97a8c69162afce47abea96c8c0914f3550e212'"
This reverts commit 1a4315f24d2c5857ebeb379fe39f0124746ee30a, reversing changes made to 869401cefc22e221edbf135bacaa1f21014fd001. At least one distro (Arch) ships gsm.h inside the gsm/ folder
Diffstat (limited to 'libavcodec/libgsmdec.c')
-rw-r--r--libavcodec/libgsmdec.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/libgsmdec.c b/libavcodec/libgsmdec.c
index 85bb022b97..a503215f67 100644
--- a/libavcodec/libgsmdec.c
+++ b/libavcodec/libgsmdec.c
@@ -27,7 +27,12 @@
// The idiosyncrasies of GSM-in-WAV are explained at http://kbs.cs.tu-berlin.de/~jutta/toast.html
+#include "config.h"
+#if HAVE_GSM_H
#include <gsm.h>
+#else
+#include <gsm/gsm.h>
+#endif
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"