aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/timers.h
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2005-10-23 10:11:46 +0000
committerDavid Xu <davidxu@FreeBSD.org>2005-10-23 10:11:46 +0000
commit115efad93949ae17c6513371f68ef499350727f4 (patch)
tree2b9bc0563699a348a8011292ca2eb260f435a105 /sys/sys/timers.h
parent21314694fbb5c1d6b46de9f3ee7d2ef4aa0a0ba5 (diff)
downloadsrc-115efad93949ae17c6513371f68ef499350727f4.tar.gz
src-115efad93949ae17c6513371f68ef499350727f4.zip
Make kernel structures invisible to userland.
Notes
Notes: svn path=/head/; revision=151581
Diffstat (limited to 'sys/sys/timers.h')
-rw-r--r--sys/sys/timers.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/timers.h b/sys/sys/timers.h
index deb7175eb740..9c41e9471a00 100644
--- a/sys/sys/timers.h
+++ b/sys/sys/timers.h
@@ -38,6 +38,9 @@
#ifndef _SYS_TIMERS_H_
#define _SYS_TIMERS_H_
+#include <sys/time.h>
+
+#ifdef _KERNEL
/*
* Structures used to manage POSIX timers in a process.
*/
@@ -111,5 +114,5 @@ struct kclock {
void itimers_init(struct itimers *its);
void itimers_event_hook(struct proc *p, int event);
-
+#endif
#endif /* !_SYS_TIMERS_H_ */