summaryrefslogtreecommitdiff
path: root/audio/mad123/patches/patch-aa
blob: 0e56b9851bf6cccb0fe46151e363ca26d5ab4427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-aa,v 1.2 2012/02/15 22:09:31 hans Exp $

--- mad123.c.orig	2005-11-11 18:19:59.000000000 +0000
+++ mad123.c
@@ -20,6 +20,7 @@
 */
 
 #include <sys/types.h>
+#include <sys/stat.h>
 #include <sys/time.h>
 #include <sys/resource.h>
 #include <sys/poll.h>
@@ -33,6 +34,10 @@
 #include <unistd.h>
 #include <mad.h>
 
+#ifdef __sun
+#include <sys/stropts.h>
+#endif
+
 #include "audio_dev.h"
 #include "mp3_stream.h"