mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 01:28:00 -04:00
Don't include <sys/tty.h> in our sound layer. It is not needed.
The PCM's sound.h file only seems to include <sys/tty.h>, because channel_if seems to require selinfo. Just replace it with <sys/selinfo.h>. There's no real problem with including <sys/tty.h> here, even with MPSAFE TTY, but <sys/tty.h> is something that should be used by the TTY layer, its driver and code that integrated it with the process tree.
This commit is contained in:
parent
5241279fa1
commit
e5bfdc768a
2 changed files with 1 additions and 2 deletions
|
|
@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$");
|
|||
#include <sys/lock.h>
|
||||
#include <sys/sockio.h>
|
||||
#include <sys/fcntl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
#include <sys/filio.h>
|
||||
#include <sys/sockio.h>
|
||||
#include <sys/fcntl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/selinfo.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/kernel.h> /* for DATA_SET */
|
||||
#include <sys/module.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue