|author||Darren Tucker <email@example.com>||2016-07-23 16:14:42 +1000|
|committer||Darren Tucker <firstname.lastname@example.org>||2016-07-23 16:14:42 +1000|
Move Cygwin IPPORT_RESERVED overrride to defines.h
Patch from vinschen at redhat.com.
Diffstat (limited to 'defines.h')
1 files changed, 13 insertions, 0 deletions
@@ -43,6 +43,19 @@ enum
+ * Cygwin doesn't really have a notion of reserved ports. It is still
+ * is useful on the client side so for compatibility it defines as 1024 via
+ * netinet/in.h inside an enum. We * don't actually want that restriction
+ * so we want to set that to zero, but we can't do it direct in config.h
+ * because it'll cause a conflicting definition the first time we include
+ * netinet/in.h.
+#define IPPORT_RESERVED 0
* Definitions for IP type of service (ip_tos)