1 --- mg-20070529.orig/sysdef.h 2006-08-01 16:34:08.000000000 -0700
2 +++ mg-20070529/sysdef.h 2007-09-16 15:07:53.000000000 -0700
5 /* necesarry to get asprintf & friends with glibc XXX doesn't work for some
6 * mysterious reason! */
7 -/* #ifdef __GLIBC__ */
8 -/* # define _GNU_SOURCE */
18 extern size_t strlcat(char *, const char *, size_t);
21 -/* Manpage says: #define _GNU_SOURCE, does that work? No! */
23 -extern int asprintf (char **, const char *, ...);
24 -extern int vasprintf (char **, const char *, _G_va_list);
28 /* not provided by glibc stdio.h */
30 extern char * fgetln(FILE *, size_t *);