openbsd-ports/x11/xfce/patches/patch-xfsound_xfdsp_c
kevlo 5936acd8a5 - Update to version 3.6.3
- Add HOMEPAGE
2000-11-30 05:28:42 +00:00

22 lines
401 B
Plaintext

--- xfsound/xfdsp.c.orig Wed Nov 29 09:43:22 2000
+++ xfsound/xfdsp.c Wed Nov 29 09:46:38 2000
@@ -48,6 +48,9 @@
#if defined(linux)
#include <sys/soundcard.h> /* guess :) */
#endif
+#if defined(__OpenBSD__)
+#include <soundcard.h>
+#endif
#include "xfdsp.h"
@@ -62,7 +65,7 @@
int masterfd;
-#if defined(linux)
+#if defined(linux) || defined(__OpenBSD__)
int
i_play (char *soundfile)
{