ports/multimedia/spook/files/patch-bswap.h
Wen Heping d01ff0b44b - Fix V4L support
- Add LICENSE
- Pass maintainership to submitter

PR:		201162
Submitted by:	mizhka@gmail.com
2015-06-28 10:47:11 +00:00

14 lines
262 B
C

--- bswap.h.orig 2005-02-08 02:20:14 UTC
+++ bswap.h
@@ -6,7 +6,11 @@
#ifndef __BSWAP_H__
#define __BSWAP_H__
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#else
#include <endian.h>
+#endif
#if __BYTE_ORDER == __BIG_ENDIAN
#define WORDS_BIGENDIAN
#endif