Use forward declartion for enum uio_seg in imgact.h. This allows to remove

inclusion of sys/uio.h from the header.

Proposed by:	alc
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2010-07-24 18:14:34 +00:00
parent ab8d4d579f
commit 9a9f23bd2f

View File

@ -32,8 +32,6 @@
#ifndef _SYS_IMGACT_H_
#define _SYS_IMGACT_H_
#include <sys/uio.h>
#define MAXSHELLCMDLEN PAGE_SIZE
struct image_args {
@ -75,6 +73,7 @@ struct image_params {
#ifdef _KERNEL
struct sysentvec;
struct thread;
enum uio_seg;
#define IMGACT_CORE_COMPRESS 0x01