Warner Losh 56ee5c551f sysctl: make sys/sysctl.h self contained
sys/sysctl.h only needs u_int and size_t from sys/types.h. When the
sysctl interface was designed, having one more more prerequisites
(especially sys/types.h) was the norm. Times have changed, and to make
things more portable, make sys/types.h optional. We do this by including
sys/_types.h, defining size_t if needed, and changing u_int to 'unsigned
int' in a prototype for userland builds. For kernel builds, sys/types.h
is still required.

Sponsored by:		Netflix
Reviewed by:		kib, jhb
Differential Revision:	https://reviews.freebsd.org/D31827
2021-10-11 11:20:07 -06:00
..
2021-10-11 13:20:56 +01:00
2021-10-11 20:09:49 +03:00
2021-08-24 11:24:07 +00:00
2021-09-27 07:46:56 +02:00
2021-10-11 13:21:47 +00:00
2021-10-08 12:24:46 +03:00