[git commit] sparc/clone.S: guard tcb-offsets.h include with RESET_PID

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Mar 3 18:10:47 UTC 2015


commit: http://git.uclibc.org/uClibc/commit/?id=8e5113112ae7d3402e2afb01c8cee18d3beb0f2e
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Otherwise we have a broken scenario with non-threading builds.

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/sysdeps/linux/sparc/clone.S |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libc/sysdeps/linux/sparc/clone.S b/libc/sysdeps/linux/sparc/clone.S
index 8d9da5a..1d0e3e6 100644
--- a/libc/sysdeps/linux/sparc/clone.S
+++ b/libc/sysdeps/linux/sparc/clone.S
@@ -22,7 +22,9 @@
 
 #include <asm/errno.h>
 #include <asm/unistd.h>
+#ifdef RESET_PID
 #include <tcb-offsets.h>
+#endif
 #include <sysdep.h>
 
 #define CLONE_VM	0x00000100


More information about the uClibc-cvs mailing list