Commit d157ba1f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

memrchr: fix compilation

parent cfde608b
......@@ -20,7 +20,6 @@
#endif
#include <string.h>
#include <stddef.h>
/*
* Reverse memchr()
......
......@@ -77,6 +77,7 @@ typedef struct
#endif
#if !defined (HAVE_POSIX_MEMALIGN) || \
!defined (HAVE_MEMRCHR) || \
!defined (HAVE_STRLCPY) || \
!defined (HAVE_STRNDUP) || \
!defined (HAVE_STRNLEN) || \
......@@ -139,6 +140,10 @@ int vasprintf (char **, const char *, va_list);
int ffsll(unsigned long long);
#endif
#ifndef HAVE_MEMRCHR
void *memrchr(const void *, int, size_t);
#endif
#ifndef HAVE_STRCASECMP
int strcasecmp (const char *, const char *);
#endif
......@@ -268,10 +273,6 @@ int unsetenv (const char *);
int posix_memalign (void **, size_t, size_t);
#endif
#ifndef HAVE_MEMRCHR
void *memrchr(const void *, int, size_t);
#endif
/* locale.h */
#ifndef HAVE_USELOCALE
#define LC_ALL_MASK 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment