From 5f7efb87a28a311ad377dd26adf53715dedb096d Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 29 Aug 2017 20:50:48 -0400 Subject: move IPPORT_RESERVED from netdb.h to netinet/in.h it's in the reserved namespace for the latter, where it seems it was historically defined, and some programs expect to find it there. --- include/netinet/in.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/netinet') diff --git a/include/netinet/in.h b/include/netinet/in.h index 0d4d04aa..84982f5e 100644 --- a/include/netinet/in.h +++ b/include/netinet/in.h @@ -69,6 +69,8 @@ uint16_t htons(uint16_t); uint32_t ntohl(uint32_t); uint16_t ntohs(uint16_t); +#define IPPORT_RESERVED 1024 + #define IPPROTO_IP 0 #define IPPROTO_HOPOPTS 0 #define IPPROTO_ICMP 1 -- cgit v1.2.3-70-g09d2