Full_Name: Peter Häring Version: 2.4.16 OS: Linux URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (95.208.246.19)
In file include/ac/string.h:
/* GNU extension (glibc >= 2.1.91), only declared when defined(_GNU_SOURCE) */ #ifndef HAVE_MEMRCHR #undef memrchr #define memrchr lutil_memrchr #endif /* ! HAVE_MEMRCHR */ void * memrchr(const void *b, int c, size_t len);
the last two lines must be switched, so that memrchr() is only declared, when HAVE_MEMRCHR is undefined.
/* GNU extension (glibc >= 2.1.91), only declared when defined(_GNU_SOURCE) */ #ifndef HAVE_MEMRCHR #undef memrchr #define memrchr lutil_memrchr void * memrchr(const void *b, int c, size_t len); #endif /* ! HAVE_MEMRCHR */