#define _COMPAT_STRING_H
#include <string.h>
+#include <stdlib.h>
#ifdef HAVE_STRNLEN
static inline
static inline
void *lttng_memrchr(const void *s, int c, size_t n)
{
- return memrchr(s, c, n);
+ return (void *) memrchr(s, c, n);
}
#else
static inline