diff options
author | wollman <wollman@FreeBSD.org> | 2001-01-20 02:24:07 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2001-01-20 02:24:07 +0000 |
commit | 0fbfe85a3cf3589f4e05372bfa862cefce00e2aa (patch) | |
tree | e659ad1bed142e07d22975dff2999f17c7b71294 /sys/dev | |
parent | a11e21597d3b3fd5943eab7683f1b2f629e945d6 (diff) | |
download | FreeBSD-src-0fbfe85a3cf3589f4e05372bfa862cefce00e2aa.zip FreeBSD-src-0fbfe85a3cf3589f4e05372bfa862cefce00e2aa.tar.gz |
Finish deprecating <sys/select.h> in favor of <sys/selinfo.h> in kernel code.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/bktr/bktr_i2c.c | 5 | ||||
-rw-r--r-- | sys/dev/mse/mse.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/bktr/bktr_i2c.c b/sys/dev/bktr/bktr_i2c.c index 0979db9..4f61e5c 100644 --- a/sys/dev/bktr/bktr_i2c.c +++ b/sys/dev/bktr/bktr_i2c.c @@ -41,7 +41,12 @@ #include <sys/module.h> #include <sys/bus.h> #include <sys/uio.h> + +#if __FreeBSD_version >= 500014 +#include <sys/selinfo.h> +#else #include <sys/select.h> +#endif #if (__FreeBSD_version < 500000) #include <machine/clock.h> /* for DELAY */ diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c index dbf72cc..9268574 100644 --- a/sys/dev/mse/mse.c +++ b/sys/dev/mse/mse.c @@ -50,7 +50,7 @@ #include <sys/kernel.h> #include <sys/bus.h> #include <sys/poll.h> -#include <sys/select.h> +#include <sys/selinfo.h> #include <sys/uio.h> #include <sys/mouse.h> |