summaryrefslogtreecommitdiff
path: root/include/netinet
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-08-29 20:50:48 -0400
committerRich Felker <dalias@aerifal.cx>2017-08-29 20:50:48 -0400
commit5f7efb87a28a311ad377dd26adf53715dedb096d (patch)
tree3bc66ee4c02b48ffe0372d827a7e127870e0b9a6 /include/netinet
parent5f3b652afe423dd2bd6f266535f79f685909cf60 (diff)
downloadmusl-5f7efb87a28a311ad377dd26adf53715dedb096d.tar.gz
musl-5f7efb87a28a311ad377dd26adf53715dedb096d.tar.bz2
musl-5f7efb87a28a311ad377dd26adf53715dedb096d.tar.xz
musl-5f7efb87a28a311ad377dd26adf53715dedb096d.zip
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.
Diffstat (limited to 'include/netinet')
-rw-r--r--include/netinet/in.h2
1 files changed, 2 insertions, 0 deletions
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