On Thu, Sep 7, 2017 at 9:08 AM, Matthias Klose <d...@ubuntu.com> wrote: > On 14.07.2017 11:14, Jakub Jelinek wrote: >> Hi! >> >> glibc recently changed a couple of headers. One change was >> that typedef struct sigaltstack { ... } stack_t; is now >> typedef struct { ... } stack_t; >> and the other change is that resolv.h now ignores the former (private glibc >> macro) __need_res_state macro and after >> struct __res_state { ... }; >> typedef struct __res_state *res_state; >> also newly adds >> extern struct __res_state *__res_state(void) __attribute__ ((__const__)); >> declaration even if that macro is defined. >> >> The following patch fixes both of these issues and should work even with >> older glibcs. >> >> Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk. >> Will backport to release branches soon. > > This was backported to gcc-7 only. Ok to backport to the gcc-5 and gcc-6 > branches?
Yes. Richard. > Matthias >