diff options
Diffstat (limited to 'sys/i4b/driver/i4b_trace.c')
-rw-r--r-- | sys/i4b/driver/i4b_trace.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/i4b/driver/i4b_trace.c b/sys/i4b/driver/i4b_trace.c index e601ed8..586a68d 100644 --- a/sys/i4b/driver/i4b_trace.c +++ b/sys/i4b/driver/i4b_trace.c @@ -90,6 +90,13 @@ PSEUDO_SET(i4btrcattach, i4b_trace); int get_trace_data_from_l1(i4b_trace_hdr_t *hdr, int len, char *buf); +#if __FreeBSD_version >= 501113 +#ifndef TTIPRI +/* don't want to include tty.h just to get this */ +#define TTIPRI (PSOCK + 1) +#endif +#endif + /*---------------------------------------------------------------------------* * interface attach routine *---------------------------------------------------------------------------*/ |