$NetBSD: patch-ap,v 1.2 2008/12/25 13:18:00 hasso Exp $

--- src/pcm/pcm_file.c.orig	2008-10-29 08:42:10.000000000 -0400
+++ src/pcm/pcm_file.c
@@ -26,8 +26,10 @@
  *
  */
   
+#if !defined(__NetBSD__) && !defined(__DragonFly__)
 #include <endian.h>
 #include <byteswap.h>
+#endif
 #include <ctype.h>
 #include "pcm_local.h"
 #include "pcm_plugin.h"
