diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-11-21 18:16:48 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-11-21 18:16:48 +0000 |
commit | 0bec780131c1105ad6cf2a2cbc989ee84ffdbb10 (patch) | |
tree | 2286c902bd69d876f7d004015a7f4c743851e804 /include | |
parent | eb01b2b7fa7f0eff236c6683e0369227aef6c5ae (diff) |
Move contents of sys/select.h to sys/selinfo.h in preparation for a
userland-visible sys/select.h. Consistent with what Net and Free do.
OK deraadt@, tested with full ports build by naddy@.
Diffstat (limited to 'include')
-rw-r--r-- | include/unistd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h index ae2e03e6e60..1a28ebc8a06 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: unistd.h,v 1.54 2005/11/20 02:24:59 millert Exp $ */ +/* $OpenBSD: unistd.h,v 1.55 2005/11/21 18:16:36 millert Exp $ */ /* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */ /*- @@ -190,7 +190,8 @@ int ruserok(const char *, int, const char *, const char *); int quotactl(const char *, int, int, char *); void *sbrk(int); -#if !defined(_XOPEN_SOURCE) +#if !defined(_XOPEN_SOURCE) && !defined(_SELECT_DEFINED_) +#define _SELECT_DEFINED_ int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); #endif |