Move nested include of <sys/queue.h> inside _KERNEL.
This removes namespace pollution for userland brought in by r299122. PR: 210319 Submitted by: knu MFC after: 1 week
This commit is contained in:
parent
106efceff3
commit
bdc29f6563
@ -35,7 +35,6 @@
|
||||
#include <sys/_cpuset.h>
|
||||
|
||||
#include <sys/bitset.h>
|
||||
#include <sys/queue.h>
|
||||
|
||||
#define _NCPUBITS _BITSET_BITS
|
||||
#define _NCPUWORDS __bitset_words(CPU_SETSIZE)
|
||||
@ -92,6 +91,8 @@
|
||||
#define CPUSET_DEFAULT 0
|
||||
|
||||
#ifdef _KERNEL
|
||||
#include <sys/queue.h>
|
||||
|
||||
LIST_HEAD(setlist, cpuset);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user