From 020a7b4711d9e5ea0922eb940080e2c01933a08a Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 25 Jul 2006 20:01:38 +0000 Subject: [PATCH] * include/cygwin/in6.h: Guard in_port_t typedef more restrictive to avoid compiler warning. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/include/cygwin/in6.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c96b91064..c0a4d956c 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2006-07-25 Corinna Vinschen + + * include/cygwin/in6.h: Guard in_port_t typedef more restrictive to + avoid compiler warning. + 2006-07-25 Christopher Faylor * security.cc (get_logon_server): Remove nret and use dret for diff --git a/winsup/cygwin/include/cygwin/in6.h b/winsup/cygwin/include/cygwin/in6.h index c01aefa06..5f3d5818a 100644 --- a/winsup/cygwin/include/cygwin/in6.h +++ b/winsup/cygwin/include/cygwin/in6.h @@ -97,7 +97,7 @@ struct in6_pktinfo unsigned int ipi6_ifindex; }; -#ifdef __INSIDE_CYGWIN__ +#if defined (__INSIDE_CYGWIN__) && !defined (_CYGWIN_IN_H) typedef uint16_t in_port_t; #endif