Skip to content

Commit

Permalink
__u8 is not available on FreeBSD so use u_int8_t instead
Browse files Browse the repository at this point in the history
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'
  • Loading branch information
decke authored and adamsutton committed May 31, 2013
1 parent 0ac56f0 commit 2d6c122
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dvb/diseqc.h
Expand Up @@ -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
*/
Expand Down

0 comments on commit 2d6c122

Please sign in to comment.