summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/rresvport.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/rresvport.c')
-rw-r--r--openbsd-compat/rresvport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/rresvport.c b/openbsd-compat/rresvport.c
index c10391872..15790e852 100644
--- a/openbsd-compat/rresvport.c
+++ b/openbsd-compat/rresvport.c
@@ -36,6 +36,7 @@
#ifndef HAVE_RRESVPORT_AF
#include <errno.h>
+#include <stdlib.h>
#include <string.h>
#if 0