NetBSD ships with <sys/endian.h> not <endian.h>
authorKamil Rytarowski <n54@gmx.com>
Tue, 5 Jul 2016 14:29:18 +0000 (16:29 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 4 Oct 2016 20:17:12 +0000 (22:17 +0200)
libs/backends/alsa/zita-alsa-pcmi.cc

index c5480fd8f9c2f6683c08b88ecebae6595b51b1fa..942e77e63acdadffd99a7715318647dbfa754ed3 100644 (file)
 //
 // ----------------------------------------------------------------------------
 
-
+#if defined(__NetBSD__)
+#include <sys/endian.h>
+#else
 #include <endian.h>
+#endif
 #include <sys/time.h>
 #include "zita-alsa-pcmi.h"