[PATCH] sparc/clone.S: guard tcb-offsets.h include with RESET_PID
Gustavo Zacarias <[email protected]>
| Newsgroups | gmane.comp.lib.uclibc.general |
|---|---|
| Message-ID | <[email protected]> |
Otherwise we have a broken scenario with non-threading builds. Signed-off-by: Gustavo Zacarias <[email protected]> --- libc/sysdeps/linux/sparc/clone.S | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.0.5