summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index a438ddd74..1b71d3e01 100644
--- a/defines.h
+++ b/defines.h
@@ -43,6 +43,19 @@ enum
43#endif 43#endif
44 44
45/* 45/*
46 * Cygwin doesn't really have a notion of reserved ports. It is still
47 * is useful on the client side so for compatibility it defines as 1024 via
48 * netinet/in.h inside an enum. We * don't actually want that restriction
49 * so we want to set that to zero, but we can't do it direct in config.h
50 * because it'll cause a conflicting definition the first time we include
51 * netinet/in.h.
52 */
53
54#ifdef HAVE_CYGWIN
55#define IPPORT_RESERVED 0
56#endif
57
58/*
46 * Definitions for IP type of service (ip_tos) 59 * Definitions for IP type of service (ip_tos)
47 */ 60 */
48#include <netinet/in_systm.h> 61#include <netinet/in_systm.h>