]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
__u8 is not available on FreeBSD so use u_int8_t instead
authorBernhard Froehlich <decke@bluelife.at>
Sat, 4 May 2013 13:30:48 +0000 (15:30 +0200)
committerBernhard Froehlich <decke@bluelife.at>
Sat, 4 May 2013 13:30:48 +0000 (15:30 +0200)
tvheadend-3.4/src/dvb/diseqc.h:10: error: expected declaration specifiers or '...' before '__u8'
tvheadend-3.4/src/dvb/diseqc.h:11: error: expected declaration specifiers or '...' before '__u8'

src/dvb/diseqc.h

index 852a7948daa7cc8eb9110dadd80aae7c40ca31eb..a0d443aa7c03d9e003510bf28ff28ef7bfec532c 100644 (file)
@@ -4,6 +4,10 @@
 #include <stdint.h>
 #include <linux/dvb/frontend.h>
 
+#if defined(PLATFORM_FREEBSD)
+#define        __u8   u_int8_t
+#endif
+
 /**
  *   set up the switch to position/voltage/tone
  */