curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Build issues for curl/libcurl > 7.53.1 on OpenServer 5.0.7

From: Kevin R. Bulgrien <kevinb_at_systemsdesignusa.com>
Date: Wed, 20 Jun 2018 16:55:14 -0500 (CDT)

> From: "Kevin R. Bulgrien" <kevinb_at_systemsdesignusa.com>
> > From: "Daniel Stenberg" <daniel_at_haxx.se>
> >
> > Do does your OS not have a 'socklen_t' type in a header somewhere,
> > or is this problem happening because we don't include that?
>
> It would appear socklen_t is not defined by the system

This is less verbose than the original patch, introduces no redundancy,
but works equally well:

--- ../curl-7.60.0.orig/include/curl/system.h 2018-05-07 04:18:02.000000000 -0500
+++ include/curl/system.h 2018-06-18 14:50:03.000000000 -0500
@@ -344,7 +344,7 @@
 /* KEEP GENERIC GCC THE LAST ENTRY */
 /* ===================================== */

-#elif defined(__GNUC__)
+#elif defined(__GNUC__) && !defined(_SCO_DS)
 # if !defined(__LP64__) && \
   (defined(__ILP32__) || defined(__i386__) || defined(__hppa__) || \
    defined(__ppc__) || defined(__powerpc__) || defined(__arm__) || \

-- 
Kevin R. Bulgrien, Network/Software Engineer
http://www.systemsdesignusa.com
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-06-20