diff options
Diffstat (limited to 'openbsd-compat/bindresvport.c')
-rw-r--r-- | openbsd-compat/bindresvport.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c index 7f48fd03a..2c16233c9 100644 --- a/openbsd-compat/bindresvport.c +++ b/openbsd-compat/bindresvport.c | |||
@@ -36,6 +36,8 @@ | |||
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | 38 | ||
39 | #include <errno.h> | ||
40 | |||
39 | #define STARTPORT 600 | 41 | #define STARTPORT 600 |
40 | #define ENDPORT (IPPORT_RESERVED - 1) | 42 | #define ENDPORT (IPPORT_RESERVED - 1) |
41 | #define NPORTS (ENDPORT - STARTPORT + 1) | 43 | #define NPORTS (ENDPORT - STARTPORT + 1) |