Mailing Lists
|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1277 NI_MAXSERV missing with SunStudio Compiler on Solaris
From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Tue, 10 Sep 2013 22:04:23 +0000
- **status**: open --> closed-fixed
--- ** [bugs:#1277] NI_MAXSERV missing with SunStudio Compiler on Solaris** **Status:** closed-fixed **Labels:** SunStudio Solaris **Created:** Tue Sep 10, 2013 01:23 PM UTC by D.Flinkmann **Last Updated:** Tue Sep 10, 2013 01:23 PM UTC **Owner:** Daniel Stenberg When curl is compiled on Solaris with the SunStudio Compiler, hostip6.c is missing NI_MAXSERV. To fix it, following patch will add the definition just for SunStudio compilers: --- curl-7.32.0/lib/hostip6.c_orig +++ curl-7.32.0/lib/hostip6.c @@ -36,6 +36,10 @@ #include <inet.h> #endif +#if defined(__SUNPRO_C) +#define NI_MAXSERV 32 +#endif + #ifdef HAVE_PROCESS_H #include <process.h> #endif I am using this patch since curl 7.29.0 and I still apply it to curl 7.32.0 . Please have a look. --- Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.Received on 2013-09-11 These mail archives are generated by hypermail. |
Page updated May 06, 2013.
web site info