From: Bernhard Froehlich Date: Sat, 4 May 2013 13:30:48 +0000 (+0200) Subject: __u8 is not available on FreeBSD so use u_int8_t instead X-Git-Tag: v3.9~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=006a1793b26b359883993546413d8f4187abbe5c;p=thirdparty%2Ftvheadend.git __u8 is not available on FreeBSD so use u_int8_t instead 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' --- diff --git a/src/dvb/diseqc.h b/src/dvb/diseqc.h index 852a7948d..a0d443aa7 100644 --- a/src/dvb/diseqc.h +++ b/src/dvb/diseqc.h @@ -4,6 +4,10 @@ #include #include +#if defined(PLATFORM_FREEBSD) +#define __u8 u_int8_t +#endif + /** * set up the switch to position/voltage/tone */