pkgsrc/audio/alsa-lib/patches/patch-ax
hans cbabfe9851 Fix build on SunOS.
Inspired by the patches used for the native package in OI.
2012-02-15 19:43:51 +00:00

14 lines
330 B
Text

$NetBSD: patch-ax,v 1.3 2012/02/15 19:43:51 hans Exp $
--- src/pcm/pcm_mulaw.c.orig 2008-10-29 08:42:10.000000000 -0400
+++ src/pcm/pcm_mulaw.c
@@ -26,7 +26,9 @@
*
*/
+#if !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__sun)
#include <byteswap.h>
+#endif
#include "pcm_local.h"
#include "pcm_plugin.h"