The u_short type is used by the struct tcphdr as

# 52 "/usr/include/netinet/tcp.h" 3 4
struct tcphdr {
 u_short th_sport;
 ...
 };
but its definition is conditionned by the D__BSD_VISIBLE constant. Thus,
config/CYGWIN should set this constant as a SYSFLAGS 

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2015-08-17 07:32:15 +02:00
parent e052b6a4bd
commit 7470e4fc12

View File

@ -64,7 +64,7 @@ RELEASEOPT_LINK =
#
# System Specific Flags
#
SYSFLAGS = -D_XOPEN_SOURCE=500
SYSFLAGS = -D_XOPEN_SOURCE=500 -D__BSD_VISIBLE
#
# System Specific Libraries