summaryrefslogtreecommitdiff
path: root/audio/rplay/patches/patch-cc
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rplay/patches/patch-cc')
-rw-r--r--audio/rplay/patches/patch-cc22
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/rplay/patches/patch-cc b/audio/rplay/patches/patch-cc
new file mode 100644
index 00000000000..d6b62353018
--- /dev/null
+++ b/audio/rplay/patches/patch-cc
@@ -0,0 +1,22 @@
+$NetBSD: patch-cc,v 1.1 2004/12/22 16:19:34 ben Exp $
+
+--- adpcm/g72x.h.orig Tue Jul 14 15:35:23 1998
++++ adpcm/g72x.h
+@@ -32,11 +32,16 @@
+ */
+ #ifndef _G72X_H
+ #define _G72X_H
++#ifdef __NetBSD__
+
++
++#include <sys/types.h>
++#include <sys/audioio.h>
++#else
+ #define AUDIO_ENCODING_ULAW (1) /* ISDN u-law */
+ #define AUDIO_ENCODING_ALAW (2) /* ISDN A-law */
+ #define AUDIO_ENCODING_LINEAR (3) /* PCM 2's-complement (0-center) */
+-
++#endif
+ /*
+ * The following is the definition of the state structure
+ * used by the G.721/G.723 encoder and decoder to preserve their internal