mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
linux(4): Cleanup sys/sysent.h from linux_util
Include sys/sysent.h directly where it needed. The linux_util.h included in a most source files of the Linuxulator, avoid collecting a rarely used includes here. MFC after: 2 weeks
This commit is contained in:
parent
31e938c531
commit
513eb69edf
4 changed files with 3 additions and 1 deletions
|
|
@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$");
|
|||
#include <sys/priv.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/sched.h>
|
||||
#include <sys/sysent.h>
|
||||
#include <sys/umtxvar.h>
|
||||
|
||||
#ifdef COMPAT_LINUX32
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$");
|
|||
#include <sys/sem.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/sysent.h>
|
||||
|
||||
#ifdef COMPAT_LINUX32
|
||||
#include <machine/../linux32/linux.h>
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$");
|
|||
#include <sys/stat.h>
|
||||
#include <sys/syscallsubr.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/sysent.h>
|
||||
#include <sys/sysproto.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/time.h>
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@
|
|||
#ifndef _LINUX_UTIL_H_
|
||||
#define _LINUX_UTIL_H_
|
||||
|
||||
#include <sys/sysent.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
MALLOC_DECLARE(M_LINUX);
|
||||
|
|
|
|||
Loading…
Reference in a new issue