On Thu, Mar 24, 2022 at 1:51 PM Robb Schiefer via curl-library
<curl-library@lists.haxx.se> wrote:
>
> Added the following to my CMakeLists file and the error is gone:
>
>
>
> set(HAVE_STRUCT_TIMEVAL 1)
>
>
>
> Is this correct?  Obviously I would add this conditionally based on the 
> target architecture.

struct timeval must be defined on sys/time.h on any modern system
supporting XSI extensions that matters so yes.
Also cmake itself uses struct timeval.
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to