pkgsrc/games/xnibbles/patches/patch-ab

14 lines
409 B
Text

$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>