$OpenBSD: patch-libavcodec_libgsm_c,v 1.3 2013/01/25 09:46:22 brad Exp $
--- libavcodec/libgsm.c.orig	Tue Sep 18 22:44:41 2012
+++ libavcodec/libgsm.c	Thu Jan 24 16:11:40 2013
@@ -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 "avcodec.h"
 #include "gsm.h"
