include sys/ioctl.h from volume.h before soundcard.h to fix build

thanks naddy@
This commit is contained in:
jcs 2002-03-17 15:53:09 +00:00
parent cd7a705c2e
commit 92a0131be7

View File

@ -1,8 +1,11 @@
$OpenBSD: patch-volume_c,v 1.1.1.1 2001/08/07 00:13:20 naddy Exp $ --- volume.c.orig Wed Nov 22 14:35:42 2000
--- volume.c.orig Sat Aug 4 11:45:46 2001 +++ volume.c Sun Mar 17 09:42:00 2002
+++ volume.c Sat Aug 4 11:49:45 2001 @@ -17,13 +17,16 @@
@@ -19,6 +19,8 @@ | Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include "volume.h"
+
#ifdef __FreeBSD__ #ifdef __FreeBSD__
#include <machine/soundcard.h> #include <machine/soundcard.h>
+#elif __OpenBSD__ +#elif __OpenBSD__
@ -10,3 +13,8 @@ $OpenBSD: patch-volume_c,v 1.1.1.1 2001/08/07 00:13:20 naddy Exp $
#else #else
#include <sys/soundcard.h> #include <sys/soundcard.h>
#endif #endif
-#include "volume.h"
#include <signal.h>
#include <string.h>