mirror of https://code.videolan.org/videolan/vlc
memrchr: fix compilation
This commit is contained in:
parent
cfde608bb7
commit
d157ba1f08
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue