An a #error discouraging people from using pipe.h from places outside
the kernel.
This commit is contained in:
parent
27eabced44
commit
a0c03350a3
@ -25,10 +25,7 @@
|
||||
#define _SYS_PIPE_H_
|
||||
|
||||
#ifndef _KERNEL
|
||||
#include <sys/time.h> /* for struct timespec */
|
||||
#include <sys/selinfo.h> /* for struct selinfo */
|
||||
#include <vm/vm.h> /* for vm_page_t */
|
||||
#include <machine/param.h> /* for PAGE_SIZE */
|
||||
#error "no user-servicable parts inside"
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user