about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--include/netdb.h2
-rw-r--r--include/netinet/in.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 967ca211..adde2c5e 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -24,8 +24,6 @@ struct addrinfo {
 	struct addrinfo *ai_next;
 };
 
-#define IPPORT_RESERVED 1024
-
 #define AI_PASSIVE      0x01
 #define AI_CANONNAME    0x02
 #define AI_NUMERICHOST  0x04
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