summaryrefslogtreecommitdiff
path: root/games/xnibbles/patches/patch-ab
blob: 8dacc96415a18b7b9a96f0cc009ab15b9b96da0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ab,v 1.2 2006/01/04 23:39:24 joerg Exp $
--- sound.c.orig	Sun Aug 23 02:24:57 1998
+++ sound.c	Sun Aug 23 02:25:31 1998
@@ -26,3 +26,9 @@
 #include <fcntl.h>
-#include <linux/soundcard.h>
+#if defined(__NetBSD__) || defined(__OpenBSD__)
+  #include <soundcard.h>
+#elif defined(__DragonFly__)
+  #include <sys/soundcard.h>
+#else
+  #include <linux/soundcard.h>
+#endif
 #include <sys/ioctl.h>