diff options
author | silby <silby@FreeBSD.org> | 2004-07-21 03:11:41 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2004-07-21 03:11:41 +0000 |
commit | ec31876b2b06274f0f7de048d72611dc43ce7f48 (patch) | |
tree | 4077a430166fb397c89eb6c87acca557af4aac2f /sys | |
parent | fcc8d7f6f1f3d7c6aed861cef282dec7374ee3f1 (diff) | |
download | FreeBSD-src-ec31876b2b06274f0f7de048d72611dc43ce7f48.zip FreeBSD-src-ec31876b2b06274f0f7de048d72611dc43ce7f48.tar.gz |
An a #error discouraging people from using pipe.h from places outside
the kernel.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/pipe.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/sys/pipe.h b/sys/sys/pipe.h index 76b6d37..de86d30 100644 --- a/sys/sys/pipe.h +++ b/sys/sys/pipe.h @@ -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 /* |