1 --- a/librt/mq_receive.c
2 +++ b/librt/mq_receive.c
5 #include <sys/syscall.h>
7 -#warning FIXME: hard dependency on ADVANCED REALTIME feature
9 +#ifdef __UCLIBC_HAS_ADVANCED_REALTIME__
11 librt_hidden_proto(mq_timedreceive)
13 @@ -44,3 +45,5 @@ ssize_t mq_receive(mqd_t mqdes, char *ms
15 return mq_timedreceive(mqdes, msg_ptr, msg_len, msg_prio, NULL);
18 +#endif /* __UCLIBC_HAS_ADVANCED_REALTIME__ */
23 #include <sys/syscall.h>
25 -#warning FIXME: hard dependency on ADVANCED REALTIME feature
27 +#ifdef __UCLIBC_HAS_ADVANCED_REALTIME__
29 librt_hidden_proto(mq_timedsend)
31 @@ -43,3 +44,5 @@ int mq_send(mqd_t mqdes, const char *msg
33 return mq_timedsend(mqdes, msg_ptr, msg_len, msg_prio, NULL);
36 +#endif /* __UCLIBC_HAS_ADVANCED_REALTIME__ */