summaryrefslogtreecommitdiff
path: root/audio/musepack/patches/patch-mpcenc_keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/musepack/patches/patch-mpcenc_keyboard.c')
-rw-r--r--audio/musepack/patches/patch-mpcenc_keyboard.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/musepack/patches/patch-mpcenc_keyboard.c b/audio/musepack/patches/patch-mpcenc_keyboard.c
new file mode 100644
index 00000000000..2587beb6ff2
--- /dev/null
+++ b/audio/musepack/patches/patch-mpcenc_keyboard.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-mpcenc_keyboard.c,v 1.1 2014/04/18 12:43:42 wiz Exp $
+
+Add header for struct timeval.
+
+--- mpcenc/keyboard.c.orig 2006-12-19 19:39:02.000000000 +0000
++++ mpcenc/keyboard.c
+@@ -52,6 +52,8 @@ CheckKey ( void )
+
+ #else
+
++#include <sys/time.h>
++
+ # ifdef USE_TERMIOS
+ # include <termios.h>
+