[PATCH] libiberty xstrdup.c inclusion of sys/types.h

Ian Lance Taylor iant@google.com
Wed Oct 8 16:19:00 GMT 2008


"David Edelsohn" <dje.gcc@gmail.com> writes:

> The recent AC_LARGE_FILES change to configure broke bootstrap on AIX
> when compiling
> libiberty/xstrdup.c.  AIX requires that LARGE FILE macros be defined
> before including any
> header files.  xstrdup.c is the only libiberty file that include
> <sys/types.h> before "config.h".
> Fixed with the following change.
>
> Okay?

This is OK with a ChangeLog entry.

Thanks.

Ian



More information about the Gcc-patches mailing list