1 uClibc may be configured without support for clock_nanosleep(). The function is
2 only available with uClibc if the C library is build with NPTL support (sets
3 __UCLIBC_HAS_THREADS_NATIVE__) and __UCLIBC_HAS_ADVANCED_REALTIME__ set.
5 Upstream status: Pending
6 https://mailman.videolan.org/pipermail/multicat-devel/2016-March/000129.html
8 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
10 diff -purN multicat-2.1.orig/util.h multicat-2.1/util.h
11 --- multicat-2.1.orig/util.h 2015-07-15 22:47:39.000000000 +0200
12 +++ multicat-2.1/util.h 2016-03-20 18:13:51.899780405 +0100
18 +/* uClibc may not have clock_nanosleep() available */
19 +#elif !defined (__UCLIBC__) || \
20 + defined (__UCLIBC__) && defined (__UCLIBC_HAS_THREADS_NATIVE__) \
21 + && defined (__UCLIBC_HAS_ADVANCED_REALTIME__)
22 #define HAVE_CLOCK_NANOSLEEP