diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-07-20 14:57:24 -0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-10-12 19:24:35 +0200 |
commit | c6f459959fcb7c517021a2d1b3343ca6dfce40fd (patch) | |
tree | c5d664a480d4e6102f3f4a1524cbfdd8bd6c66b0 /libpthread | |
parent | b409a6d7848153260ab94c80157c83ac3c13db76 (diff) | |
download | uClibc-alpine-c6f459959fcb7c517021a2d1b3343ca6dfce40fd.tar.bz2 uClibc-alpine-c6f459959fcb7c517021a2d1b3343ca6dfce40fd.tar.xz |
linuxthreads.old: extend workaround for asm rename warnings
The libc_pthread_init.c needs the include workaround like forward.c, and
forward.c needs more includes now.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread')
-rw-r--r-- | libpthread/linuxthreads.old/forward.c | 1 | ||||
-rw-r--r-- | libpthread/linuxthreads.old/libc_pthread_init.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/libpthread/linuxthreads.old/forward.c b/libpthread/linuxthreads.old/forward.c index 5dc9cf4c0..74a7e0fa2 100644 --- a/libpthread/linuxthreads.old/forward.c +++ b/libpthread/linuxthreads.old/forward.c @@ -45,6 +45,7 @@ For now, just include all headers before internals.h #include <unistd.h> #include <sys/types.h> #include <sys/wait.h> +#include <sys/time.h> #include "internals.h" diff --git a/libpthread/linuxthreads.old/libc_pthread_init.c b/libpthread/linuxthreads.old/libc_pthread_init.c index 09606effb..bd13d7338 100644 --- a/libpthread/linuxthreads.old/libc_pthread_init.c +++ b/libpthread/linuxthreads.old/libc_pthread_init.c @@ -21,6 +21,17 @@ #include <locale.h> #include <stdlib.h> #include <string.h> + +/* see comment in forward.c */ +#define GCC_RENAME_BUG 1 +#ifdef GCC_RENAME_BUG +# include <ctype.h> +# include <signal.h> +# include <unistd.h> +# include <sys/time.h> +# include <sys/wait.h> +#endif + #include "internals.h" #include "sysdeps/pthread/pthread-functions.h" |