On Mon, Mar 25, 2013 at 12:29 AM, Andris Pavenis <andris.pave...@iki.fi> wrote:
>> Forgot to say that I also had to apply this patch >> >> --- ../gcc-4.8.0/libbacktrace/alloc.c 2013-01-14 19:17:30.000000000 >> +0100 >> +++ ../gcc-4.80/libbacktrace/alloc.c 2013-03-24 18:07:11.995891959 >> +0100 >> @@ -34,6 +34,7 @@ >> >> #include <errno.h> >> #include <stdlib.h> >> +#include <sys/types.h> >> >> #include "backtrace.h" >> #include "internal.h" >> > > This fix is required for current stable version (2.03) of DJGPP only. I only > built for > development version 2.0.4 (really recent once from CVS) which does not need > this fix. > > Native build for DJGPP v2.03 fails due to DJGPP own problems and was left > out > for that reason and because of DJGPP v2.03 is already too old. I believe that Ian is asking what *specific* declaration is missing that prevents DJGPP from building and is supplied by including that header file. Thanks, David