openbsd-ports/games/rocksndiamonds/patches/patch-src_libgame_sound_c
2008-09-07 07:54:57 +00:00

13 lines
433 B
Plaintext

$OpenBSD: patch-src_libgame_sound_c,v 1.1 2008/09/07 07:54:57 ajacoutot Exp $
--- src/libgame/sound.c.orig Wed Sep 12 21:52:33 2007
+++ src/libgame/sound.c Sat Sep 6 17:05:11 2008
@@ -27,6 +27,8 @@
#include <linux/soundcard.h>
#elif defined(PLATFORM_FREEBSD)
#include <machine/soundcard.h>
+#elif defined(PLATFORM_OPENBSD)
+#include <soundcard.h>
#elif defined(PLATFORM_NETBSD)
#include <sys/ioctl.h>
#include <sys/audioio.h>