summaryrefslogtreecommitdiffstats
path: root/sys/sys/pipe.h
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2004-07-21 03:11:41 +0000
committersilby <silby@FreeBSD.org>2004-07-21 03:11:41 +0000
commitec31876b2b06274f0f7de048d72611dc43ce7f48 (patch)
tree4077a430166fb397c89eb6c87acca557af4aac2f /sys/sys/pipe.h
parentfcc8d7f6f1f3d7c6aed861cef282dec7374ee3f1 (diff)
downloadFreeBSD-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/sys/pipe.h')
-rw-r--r--sys/sys/pipe.h5
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
/*
OpenPOWER on IntegriCloud