From 90c2dea527d8fd95065e2a10147d050f978fe8a5 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 24 Apr 2014 08:58:20 +0200 Subject: [PATCH 5/9] Fix compile error: 'IPPORT_RESERVED' undeclared The IPPORT_RESERVED is declared in netdb.h. This fixes the following compile error with musl libc: bindresvport.c: In function 'bindresvport_sa': bindresvport.c:67:18: error: 'IPPORT_RESERVED' undeclared (first use in this function) #define ENDPORT (IPPORT_RESERVED - 1) ^ Signed-off-by: Natanael Copa --- src/bindresvport.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bindresvport.c b/src/bindresvport.c index 950fbd1..2d8f2bc 100644 --- a/src/bindresvport.c +++ b/src/bindresvport.c @@ -36,6 +36,7 @@ #include #include +#include #include #include -- 2.2.0