diff options
Diffstat (limited to 'games/xboing/patches/patch-ab')
-rw-r--r-- | games/xboing/patches/patch-ab | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/xboing/patches/patch-ab b/games/xboing/patches/patch-ab index 29dfe4ad3cf..9373bda7017 100644 --- a/games/xboing/patches/patch-ab +++ b/games/xboing/patches/patch-ab @@ -1,14 +1,16 @@ -$NetBSD: patch-ab,v 1.2 2002/07/15 09:01:43 wiz Exp $ +$NetBSD: patch-ab,v 1.3 2006/01/12 23:49:45 joerg Exp $ --- audio/LINUXaudio.c.orig Fri Nov 22 02:28:33 1996 +++ audio/LINUXaudio.c -@@ -55,7 +55,12 @@ +@@ -55,7 +55,14 @@ #include <unistd.h> #include <stdio.h> #include <fcntl.h> +#include <sys/ioctl.h> -+#ifdef __NetBSD__ ++#if defined(__NetBSD__) || defined(__OpenBSD__) +#include <soundcard.h> ++#elif defined(__DragonFly__) || defined(__FreeBSD__) ++#include <sys/soundcard.h> +#else #include <linux/soundcard.h> +#endif |