diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2015-03-03 15:04:45 -0300 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-03-03 19:10:47 +0100 |
commit | 8e5113112ae7d3402e2afb01c8cee18d3beb0f2e (patch) | |
tree | af49b2570f8157e1e4c3caa60bdc5d5395fec080 /libc | |
parent | b4e091562671505b8cf23288b06001a46f5fa3ef (diff) |
sparc/clone.S: guard tcb-offsets.h include with RESET_PID
Otherwise we have a broken scenario with non-threading builds.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r-- | 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 8d9da5ae5..1d0e3e6e1 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 |