mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
gnetworkaddress: tweak to make Solaris happy
https://bugzilla.gnome.org/show_bug.cgi?id=704704
This commit is contained in:
parent
5a287a0be5
commit
8c748efce1
@ -254,6 +254,7 @@ g_network_address_parse_sockaddr (GNetworkAddress *addr)
|
|||||||
gchar port[32];
|
gchar port[32];
|
||||||
|
|
||||||
memset (&hints, 0, sizeof (hints));
|
memset (&hints, 0, sizeof (hints));
|
||||||
|
hints.ai_socktype = SOCK_STREAM;
|
||||||
hints.ai_flags = AI_NUMERICHOST
|
hints.ai_flags = AI_NUMERICHOST
|
||||||
#ifdef AI_NUMERICSERV
|
#ifdef AI_NUMERICSERV
|
||||||
| AI_NUMERICSERV
|
| AI_NUMERICSERV
|
||||||
|
Loading…
Reference in New Issue
Block a user