patch for cvs glib vs freebsd

i'm sure there is a better way to fix this, but anyway...


gstrfuncs.c: In function `g_strsignal':
gstrfuncs.c:767: conflicting types for `sys_siglist'
/usr/include/signal.h:45: previous declaration of `sys_siglist'
gmake: *** [gstrfuncs.o] Error 1

Index: gstrfuncs.c
RCS file: /debian/home/gnomecvs/glib/gstrfuncs.c,v
retrieving revision 1.21
diff -r1.21 gstrfuncs.c
> # ifdef __FreeBSD__
>   extern __const char *__const sys_siglist[NSIG];
> # else
> # endif

twitch$ uname -a
FreeBSD 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Thu Oct 29 09:36:31 PST 1998  i386
twitch$ gcc --version

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