mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +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];
|
||||
|
||||
memset (&hints, 0, sizeof (hints));
|
||||
hints.ai_socktype = SOCK_STREAM;
|
||||
hints.ai_flags = AI_NUMERICHOST
|
||||
#ifdef AI_NUMERICSERV
|
||||
| AI_NUMERICSERV
|
||||
|
Loading…
Reference in New Issue
Block a user