diff options
author | Damien Miller <djm@mindrot.org> | 2008-07-14 12:03:27 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-07-14 12:03:27 +1000 |
commit | 639ce593d4f00a1414dce59b45036385cfd4c627 (patch) | |
tree | 79e22b8d3c6c724c75a2b8a982ee696ca220828e | |
parent | ce02e5e09eb50ed9a67a3067a001092b73c0d514 (diff) |
- (djm) [openbsd-compat/rresvport.c] Add unistd.h for missing close()
prototype; reported by cristian.ionescu-idbohrn AT axis.com
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | openbsd-compat/rresvport.c | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -18,6 +18,8 @@ | |||
18 | - (djm) [openbsd-compat/bindresvport.c] Rename variables s/sin/in/ to | 18 | - (djm) [openbsd-compat/bindresvport.c] Rename variables s/sin/in/ to |
19 | avoid clash with sin(3) function; reported by | 19 | avoid clash with sin(3) function; reported by |
20 | cristian.ionescu-idbohrn AT axis.com | 20 | cristian.ionescu-idbohrn AT axis.com |
21 | - (djm) [openbsd-compat/rresvport.c] Add unistd.h for missing close() | ||
22 | prototype; reported by cristian.ionescu-idbohrn AT axis.com | ||
21 | 23 | ||
22 | 20080712 | 24 | 20080712 |
23 | - (djm) OpenBSD CVS Sync | 25 | - (djm) OpenBSD CVS Sync |
@@ -4654,4 +4656,4 @@ | |||
4654 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 4656 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
4655 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 4657 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
4656 | 4658 | ||
4657 | $Id: ChangeLog,v 1.5079 2008/07/14 02:02:24 djm Exp $ | 4659 | $Id: ChangeLog,v 1.5080 2008/07/14 02:03:27 djm Exp $ |
diff --git a/openbsd-compat/rresvport.c b/openbsd-compat/rresvport.c index 5b0275ce0..1cd61e58d 100644 --- a/openbsd-compat/rresvport.c +++ b/openbsd-compat/rresvport.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <errno.h> | 44 | #include <errno.h> |
45 | #include <stdlib.h> | 45 | #include <stdlib.h> |
46 | #include <string.h> | 46 | #include <string.h> |
47 | #include <unistd.h> | ||
47 | 48 | ||
48 | #if 0 | 49 | #if 0 |
49 | int | 50 | int |