Files
2014-11-05 12:41:07 +01:00

21 lines
480 B
Plaintext

$NetBSD: patch-aw,v 1.5 2014/03/25 23:06:07 asau Exp $
--- src/pcm/pcm_misc.c.orig 2008-10-29 14:42:10 +0200
+++ src/pcm/pcm_misc.c 2008-12-21 17:08:14 +0200
@@ -23,7 +23,15 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
+#ifdef __NetBSD__
+#include <sys/bswap.h>
+#elif defined(__FreeBSD__) || defined(__DragonFly__)
+#include <sys/endian.h>
+#elif defined (__sun)
+#include <sys/byteorder.h>
+#else
#include <byteswap.h>
+#endif
#include "pcm_local.h"