summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/bindresvport.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-07-12 22:40:50 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-07-12 22:40:50 +1000
commit2c1a02a8d03069163d8cae21484f4e5656e904fe (patch)
tree0bb8f8b6358a2800a942aa69f2c2361aade88564 /openbsd-compat/bindresvport.c
parentc931c433f60a515af4cd463815ad3f9cf75ba3d9 (diff)
- (dtucker) [loginrec.c openbsd-compat/xmmap.c openbsd-compat/bindresvport.c
openbsd-compat/glob.c openbsd-compat/mktemp.c openbsd-compat/port-tun.c openbsd-compat/readpassphrase.c openbsd-compat/strtonum.c] Include <errno.h>.
Diffstat (limited to 'openbsd-compat/bindresvport.c')
-rw-r--r--openbsd-compat/bindresvport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c
index 7f48fd03..2c16233c 100644
--- a/openbsd-compat/bindresvport.c
+++ b/openbsd-compat/bindresvport.c
@@ -36,6 +36,8 @@
#include "includes.h"
+#include <errno.h>
+
#define STARTPORT 600
#define ENDPORT (IPPORT_RESERVED - 1)
#define NPORTS (ENDPORT - STARTPORT + 1)