From b01cbd5de293ab190b64951790887c6705a8188e Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 10 Jun 2002 19:58:21 +0000 Subject: * include/sys/strace.h (strace): Avoid use of constructor. --- winsup/cygwin/include/netdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/include/netdb.h') diff --git a/winsup/cygwin/include/netdb.h b/winsup/cygwin/include/netdb.h index f49a94379..ead90b515 100644 --- a/winsup/cygwin/include/netdb.h +++ b/winsup/cygwin/include/netdb.h @@ -71,7 +71,7 @@ extern "C" { /* Different from the linux versions - note the shorts.. */ struct hostent { - const char *h_name; /* official name of host */ + char *h_name; /* official name of host */ char **h_aliases; /* alias list */ short h_addrtype; /* host address type */ short h_length; /* length of address */ -- cgit v1.2.3