kernel: Fix spurious M_IOV declarations.
authorzrj <rimvydas.jasinskas@gmail.com>
Fri, 18 Oct 2019 09:19:44 +0000 (12:19 +0300)
committerzrj <rimvydas.jasinskas@gmail.com>
Thu, 24 Oct 2019 12:20:29 +0000 (15:20 +0300)
commite58ce66305be92846f41f00dcb98085b98a32af8
tree9e9ae565256deeadde888830f96be0354cb8e9a1
parent13dd34d80aa1e622804053e295c7590882a7df3e
kernel: Fix spurious M_IOV declarations.

 Do not include <sys/malloc.h> unconditionally in <sys/uio.h> as it only
 hides issues in other headers and source codes.
 * Include <sys/malloc.h> before <sys/uio.h> in sys_generic.c for M_IOV.
sys/kern/sys_generic.c
sys/sys/uio.h