Haavard Skinnemoen wrote: > Fixes the following error on avr32 > > CC ldso/libdl/libdl.oS > ldso/libdl/libdl.c: In function 'dlopen': > ldso/libdl/libdl.c:167: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '_dl_init' > ldso/libdl/libdl.c:167: error: '_dl_init' undeclared (first use in this > function) > ldso/libdl/libdl.c:167: error: (Each undeclared identifier is reported only > once > ldso/libdl/libdl.c:167: error: for each function it appears in.) > --- > ldso/libdl/libdl.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c > index 1618e7b..10292bf 100644 > --- a/ldso/libdl/libdl.c > +++ b/ldso/libdl/libdl.c > @@ -33,6 +33,7 @@ > #include <ldso.h> > #include <stdio.h> > #include <string.h> > +#include <unistd.h> > > > #ifdef SHARED Hi, I think that is was already fixed by Bernard by using bool instead of smallint for _dl_init.
Cheers, Carmelo _______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
