summaryrefslogtreecommitdiff
path: root/codec.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-07-09 17:17:16 +0200
committerJohns <johns98@gmx.net>2012-07-09 17:17:16 +0200
commit15583a79c4e92c691c0a260b821a0f5702488526 (patch)
tree9b74b08d327ab8a3d3b4bdff8d8ca78a30160c85 /codec.c
parent2cdce610d656e33f3770ded5d1f6436ebe553fd6 (diff)
downloadvdr-plugin-softhddevice-15583a79c4e92c691c0a260b821a0f5702488526.tar.gz
vdr-plugin-softhddevice-15583a79c4e92c691c0a260b821a0f5702488526.tar.bz2
FreeBSD compatibility fix.
Diffstat (limited to 'codec.c')
-rw-r--r--codec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/codec.c b/codec.c
index 7dca837..369eb6f 100644
--- a/codec.c
+++ b/codec.c
@@ -39,7 +39,11 @@
#include <stdio.h>
#include <unistd.h>
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#else
#include <endian.h>
+#endif
#include <sys/types.h>
#include <sys/stat.h>