- add forgotten patches from last commit

This commit is contained in:
ajacoutot 2008-09-07 07:54:57 +00:00
parent d5e714bad1
commit ecad5dc344
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_game_em_sound_c,v 1.1 2008/09/07 07:54:57 ajacoutot Exp $
--- src/game_em/sound.c.orig Sat Sep 6 17:02:58 2008
+++ src/game_em/sound.c Sat Sep 6 17:03:51 2008
@@ -16,7 +16,7 @@
#endif
#ifdef PLATFORM_BSD
-#include <ioctl.h>
+#include <sys/ioctl.h>
#include <soundcard.h>
#endif

View File

@ -0,0 +1,12 @@
$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>