summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2006-03-16 11:19:36 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2006-03-16 11:19:36 +0000
commitcc548bd9fb701ffc601cd2e4665170e681603706 (patch)
tree55d5d3f56d924d4c34aabe59c01f6cbf9550f768
parent41634e2e8d2bf5ccad70d4a7e75e71a8729e7f69 (diff)
Notes
-rw-r--r--sys/sys/event.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h
index 4395cbbaee0c..34794b4db99e 100644
--- a/sys/sys/event.h
+++ b/sys/sys/event.h
@@ -29,6 +29,8 @@
#ifndef _SYS_EVENT_H_
#define _SYS_EVENT_H_
+#include <sys/queue.h>
+
#define EVFILT_READ (-1)
#define EVFILT_WRITE (-2)
#define EVFILT_AIO (-3) /* attached to aio requests */
@@ -114,13 +116,6 @@ struct kevent {
#define NOTE_LINKDOWN 0x0002 /* link is down */
#define NOTE_LINKINV 0x0004 /* link state is invalid */
-/*
- * This is currently visible to userland to work around broken
- * programs which pull in <sys/proc.h>.
- */
-#include <sys/queue.h>
-#include <sys/_lock.h>
-#include <sys/_mutex.h>
struct knote;
SLIST_HEAD(klist, knote);
struct kqueue;