bbe16afa64
ok MAINTAINER
31 lines
733 B
Plaintext
31 lines
733 B
Plaintext
$OpenBSD: patch-src_sl_slPortability_h,v 1.2 2009/12/26 13:21:21 jakemsr Exp $
|
|
--- src/sl/slPortability.h.orig Mon Mar 10 19:06:24 2008
|
|
+++ src/sl/slPortability.h Wed Dec 16 01:43:22 2009
|
|
@@ -51,7 +51,7 @@
|
|
#include <limits.h>
|
|
#include <math.h>
|
|
|
|
-#if (defined(UL_LINUX) || defined(UL_BSD)) && !defined(__NetBSD__)
|
|
+#if (defined(UL_LINUX) || defined(UL_BSD)) && !defined(__NetBSD__) && !defined(__OpenBSD__)
|
|
#define SL_USING_OSS_AUDIO 1
|
|
#endif
|
|
|
|
@@ -75,9 +75,14 @@
|
|
#endif
|
|
|
|
#ifdef UL_BSD
|
|
-#ifndef __FreeBSD__
|
|
-# include <sys/audioio.h>
|
|
-#endif
|
|
+# ifdef __OpenBSD__
|
|
+# define SL_USING_SNDIO
|
|
+# include <sndio.h>
|
|
+# else
|
|
+# ifndef __FreeBSD__
|
|
+# include <sys/audioio.h>
|
|
+# endif
|
|
+# endif
|
|
#endif
|
|
|
|
/* Tom */
|