pkgsrc/net/wistumbler2/patches/patch-ad

16 lines
379 B
Text

$NetBSD: patch-ad,v 1.4 2008/10/02 13:35:02 joerg Exp $
--- src/speaker.c.orig 2004-11-27 22:04:09.000000000 +0100
+++ src/speaker.c
@@ -38,9 +38,9 @@
#include <stdlib.h>
#ifdef SPEAKER_PRESENT
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__DragonFly__)
#include <machine/speaker.h>
-#else
+#elif !defined(__NetBSD__)
#include <machine/spkr.h>
#endif
#endif