projects
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
coreutils: fix build with eglibc
[packages.git]
/
utils
/
coreutils
/
patches
/
002-fix_compile_with_uclibc.patch
1
--- a/lib/pthread.in.h
2
+++ b/lib/pthread.in.h
3
@@ -225,6 +225,9 @@
4
5
/* Approximate spinlocks with mutexes. */
6
7
+#ifdef __UCLIBC__
8
+#define pthread_spinlock_t original_pthread_spinlock_t
9
+#endif
10
typedef pthread_mutex_t pthread_spinlock_t;
11
12
static inline int