From a921e3ded051746f9f7cd5e5a312fb6771716aac Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 4 Nov 2015 19:33:16 +0100 Subject: [PATCH] fix build with uclibc-ng Signed-off-by: Felix Fietkau --- rpc/compat.h | 4 ---- 1 file changed, 4 deletions(-) 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 -- 2.11.0