__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'
This commit is contained in:
Bernhard Froehlich 2013-05-04 15:30:48 +02:00
parent 3de6b0cbe1
commit 006a1793b2

View 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
*/