projects
/
project
/
librpc-uclibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
308e996
)
fix build with uclibc-ng
master
author
Felix Fietkau
<
[email protected]
>
Wed, 4 Nov 2015 18:33:16 +0000
(19:33 +0100)
committer
Felix Fietkau
<
[email protected]
>
Wed, 4 Nov 2015 18:33:16 +0000
(19:33 +0100)
Signed-off-by: Felix Fietkau <
[email protected]
>
rpc/compat.h
patch
|
blob
|
history
diff --git
a/rpc/compat.h
b/rpc/compat.h
index b49fe770b4cd3704773a4060454a694b1dee6de4..ad8319cbd39b9c93436069301667307afe24ec5a 100644
(file)
--- a/
rpc/compat.h
+++ b/
rpc/compat.h
@@
-14,16
+14,12
@@
#include <poll.h>
#include <pthread.h>
-#ifdef __UCLIBC__
-#include <bits/libc-lock.h>
-#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