pkgsrc-wip/alsa-lib/patches/patch-ah
2008-11-17 12:34:45 +00:00

17 lines
389 B
Text

$NetBSD: patch-ah,v 1.1 2008/11/17 12:34:45 yhardy Exp $
--- ./src/pcm/pcm_file.c.orig 2008-10-28 18:19:05.000000000 +0200
+++ ./src/pcm/pcm_file.c 2008-10-28 18:19:33.000000000 +0200
@@ -26,8 +26,12 @@
*
*/
+#ifdef __NetBSD__
+#include <sys/endian.h>
+#else
#include <endian.h>
#include <byteswap.h>
+#endif
#include <ctype.h>
#include "pcm_local.h"
#include "pcm_plugin.h"