freebsd-ports/multimedia/vdr-plugin-xvdr/files/patch-src-live-livestreamer.c
Juergen Lock 7c720b5681 VDR plugin to handle XBMC clients.
The vdr-plugin-xvdr is able to handle serveral XBMC clients connecting
via the XVDR addon.

WWW: https://github.com/pipelka/vdr-plugin-xvdr
2011-12-18 17:23:38 +00:00

15 lines
322 B
C

--- a/src/live/livestreamer.c
+++ b/src/live/livestreamer.c
@@ -29,7 +29,12 @@
#include <map>
#include <vdr/remux.h>
#include <vdr/channels.h>
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#define __cpu_to_be64 htobe64
+#else
#include <asm/byteorder.h>
+#endif
#include "config/config.h"
#include "net/cxsocket.h"