HomeFreeBSD

audio/oss: Fix build on 14-CURRENT

Description

audio/oss: Fix build on 14-CURRENT

As of dfff37765ce4ea4fd7db4d293b459dc84008f411 (1400010),
struct device on 14-CURRENT was renamed to struct _device. This
commit chases this change by adding a __FreeBSD_version CPP
conditional.

PR: 259275
Submitted by: cy
Reported by: cy
Reviewed by: crees
Tested by: cy
Approved by: crees
MFH: 2021Q4
Differential Revision: https://reviews.freebsd.org/D32560

Details

Provenance
cyAuthored on Oct 19 2021, 5:32 PM
Reviewer
crees
Differential Revision
D32560: Fix audio/oss build under 14-CURRENT
Parents
R11:52febb3af6f8: net/nats-server: Update to version 2.6.2
Branches
Unknown
Tags
Unknown