Commit 09c815ed authored by Ismael Luceno's avatar Ismael Luceno Committed by Jean-Baptiste Kempf

uClibc compilation fix

parent b19614ae
...@@ -74,14 +74,14 @@ error: ...@@ -74,14 +74,14 @@ error:
return (path != NULL) ? path : strdup (PKGLIBDIR); return (path != NULL) ? path : strdup (PKGLIBDIR);
} }
#ifdef __GLIBC__ #if defined(__GLIBC__) && !defined(__UCLIBC__)
# include <gnu/libc-version.h> # include <gnu/libc-version.h>
# include <stdlib.h> # include <stdlib.h>
#endif #endif
void system_Init (void) void system_Init (void)
{ {
#ifdef __GLIBC__ #if defined(__GLIBC__) && !defined(__UCLIBC__)
const char *glcv = gnu_get_libc_version (); const char *glcv = gnu_get_libc_version ();
/* gettext in glibc 2.5-2.7 is not thread-safe. LibVLC keeps crashing, /* gettext in glibc 2.5-2.7 is not thread-safe. LibVLC keeps crashing,
......
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