From: Felix Fietkau Date: Wed, 4 Nov 2015 18:33:16 +0000 (+0100) Subject: fix build with uclibc-ng X-Git-Url: http://git.archive.openwrt.org/?p=project%2Flibrpc-uclibc.git;a=commitdiff_plain;ds=sidebyside fix build with uclibc-ng Signed-off-by: Felix Fietkau --- diff --git a/rpc/compat.h b/rpc/compat.h index b49fe77..ad8319c 100644 --- a/rpc/compat.h +++ b/rpc/compat.h @@ -14,16 +14,12 @@ #include #include -#ifdef __UCLIBC__ -#include -#else #undef __UCLIBC_MUTEX_STATIC #undef __UCLIBC_MUTEX_LOCK #undef __UCLIBC_MUTEX_UNLOCK #define __UCLIBC_MUTEX_STATIC(M,I) static pthread_mutex_t M = I #define __UCLIBC_MUTEX_LOCK(M) pthread_mutex_lock(&(M)) #define __UCLIBC_MUTEX_UNLOCK(M) pthread_mutex_unlock(&(M)) -#endif #define smallint int