OSDN Git Service

sparc/clone.S: guard tcb-offsets.h include with RESET_PID
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 3 Mar 2015 18:04:45 +0000 (15:04 -0300)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 3 Mar 2015 18:10:47 +0000 (19:10 +0100)
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>
libc/sysdeps/linux/sparc/clone.S

index 8d9da5a..1d0e3e6 100644 (file)
@@ -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