summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/select.h2
-rw-r--r--sys/sys/selinfo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/select.h b/sys/sys/select.h
index 874758b..4909a34 100644
--- a/sys/sys/select.h
+++ b/sys/sys/select.h
@@ -37,7 +37,6 @@
#ifndef _SYS_SELECT_H_
#define _SYS_SELECT_H_
-#ifdef _KERNEL
#include <sys/event.h> /* for struct klist */
/*
@@ -51,6 +50,7 @@ struct selinfo {
};
#define SI_COLL 0x0001 /* collision occurred */
+#ifdef _KERNEL
struct proc;
void selrecord __P((struct proc *selector, struct selinfo *));
diff --git a/sys/sys/selinfo.h b/sys/sys/selinfo.h
index 874758b..4909a34 100644
--- a/sys/sys/selinfo.h
+++ b/sys/sys/selinfo.h
@@ -37,7 +37,6 @@
#ifndef _SYS_SELECT_H_
#define _SYS_SELECT_H_
-#ifdef _KERNEL
#include <sys/event.h> /* for struct klist */
/*
@@ -51,6 +50,7 @@ struct selinfo {
};
#define SI_COLL 0x0001 /* collision occurred */
+#ifdef _KERNEL
struct proc;
void selrecord __P((struct proc *selector, struct selinfo *));
OpenPOWER on IntegriCloud