bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __attribute__ and timespec_t problems building findutils on IRIX


From: Paul Eggert
Subject: Re: __attribute__ and timespec_t problems building findutils on IRIX
Date: Wed, 2 Mar 2016 15:07:30 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

This looks like a case that's similar to what's handled by the following code in gnulib/lib/sys_select.in.h:


/* On IRIX 6.5, <sys/timespec.h> includes <sys/types.h>, which includes
<sys/bsd_types.h>, which includes <sys/select.h>. At this point we cannot include <signal.h>, because that includes <internal/signal_core.h>, which
   gives a syntax error because <sys/timespec.h> has not been completely
   processed.  Simply delegate to the system's header in this case. */
#elif @HAVE_SYS_SELECT_H@ && defined __sgi && (defined _SYS_BSD_TYPES_H && !defined _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_BSD_TYPES_H)


Perhaps you can propose a similar set of code for gnulib/lib/sys_time.in.h.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]