summaryrefslogtreecommitdiffstats
path: root/sys/sys/timers.h
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2005-10-23 10:11:46 +0000
committerdavidxu <davidxu@FreeBSD.org>2005-10-23 10:11:46 +0000
commit0bb48dded336861a0a160fc59bb5755916f3ef13 (patch)
tree2b9bc0563699a348a8011292ca2eb260f435a105 /sys/sys/timers.h
parentd972137502e9b49ef9be2eaa73b404a798005a03 (diff)
downloadFreeBSD-src-0bb48dded336861a0a160fc59bb5755916f3ef13.zip
FreeBSD-src-0bb48dded336861a0a160fc59bb5755916f3ef13.tar.gz
Make kernel structures invisible to userland.
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 deb7175..9c41e94 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_ */
OpenPOWER on IntegriCloud