openbsd-ports/x11/emiclock/patches/patch-sound_c
2007-10-26 20:44:07 +00:00

18 lines
463 B
Plaintext

$OpenBSD: patch-sound_c,v 1.1 2007/10/26 20:44:07 jasper Exp $
--- sound.c.orig Thu Sep 2 16:33:49 1999
+++ sound.c Fri Oct 26 22:33:32 2007
@@ -103,10 +103,10 @@ static Boolean isHalfHourChimeCached = False;
#include "sys/Linux/audio.c"
#endif /* linux */
-/* FreeBSD */
-#ifdef __FreeBSD__
+/* *BSD */
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
#include "sys/FreeBSD/audio.c"
-#endif /* FreeBSD */
+#endif /* *BSD */
#else /* USE_NETAUDIO */