gnetworkaddress: tweak to make Solaris happy

https://bugzilla.gnome.org/show_bug.cgi?id=704704
This commit is contained in:
Dan Winship 2013-07-24 10:45:36 -04:00
parent 5a287a0be5
commit 8c748efce1

View File

@ -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