[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: __attribute__ and timeval problems building findutils on IRIX
From: |
Eric Blake |
Subject: |
Re: __attribute__ and timeval problems building findutils on IRIX |
Date: |
Tue, 1 Mar 2016 17:07:10 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
adding gnulib
On 03/01/2016 04:08 PM, Rainer M. Canavan wrote:
Thanks for the report. I'm focusing on just the gnulib bug:
> A few tests cannot be compiled because struct timeval isn't
> know. Shifting around the include statements or adding
> time.h fixes these.
>
>
> rainer
>
> diff -ur ./tests/test-gettimeofday.c
> ../../findutils-4.6.0//tests/test-gettimeofday.c
> --- ./tests/test-gettimeofday.c Tue Dec 22 18:32:53 CET 2015
> +++ ../../findutils-4.6.0//tests/test-gettimeofday.c Tue Mar 01 22:56:07 CET
> 2016
> @@ -17,6 +17,7 @@
>
> #include <config.h>
>
> +#include <time.h>
> #include <sys/time.h>
Rather, we should be fixing gnulib's replacement <sys/time.h> header to
be self-contained.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: __attribute__ and timeval problems building findutils on IRIX,
Eric Blake <=