<sys/sysctl.h>: Reduce overly broad header pollution.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 19 Jan 2023 18:32:45 +0000 (10:32 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 19 Jan 2023 18:32:45 +0000 (10:32 -0800)
commitfc1901abcfa95bbdf985ee86ce24fa73c30d5076
tree66cfef5ee0e9d656b3190ee8799f2e41afc62ed0
parent6a284cacb1e56a81dff7f5c34bbbd7ed1a0b6cb1
<sys/sysctl.h>: Reduce overly broad header pollution.

Commit d3f96f661050e9bd21fe29931992a8b9e67ff189 removed <sys/queue.h>
and replaced it with the very broad <sys/systm.h>.  However, none of
the changes to sysctl.h in that commit require anything defined in
<sys/systm.h>.  On the other hand, <sys/sysctl.h> does still make use
of queue macros.  Drop the include of <sys/systm.h> and re-add
<sys/queue.h>.

Reviewed by: imp, kib, asomers
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D37950
sys/sys/sysctl.h