summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/libc_pthread_init.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-20 14:57:24 -0400
committerMike Frysinger <vapier@gentoo.org>2009-07-20 14:57:24 -0400
commitf39e03cb01e02000a8d2d2df76971afa0e523881 (patch)
tree7c463c9fc804462f3d831eeb42d1f4cf77673650 /libpthread/linuxthreads.old/libc_pthread_init.c
parent82be16427666e8e63af7233345ca949f471acaa6 (diff)
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>
Diffstat (limited to 'libpthread/linuxthreads.old/libc_pthread_init.c')
-rw-r--r--libpthread/linuxthreads.old/libc_pthread_init.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libpthread/linuxthreads.old/libc_pthread_init.c b/libpthread/linuxthreads.old/libc_pthread_init.c
index 6bd08076c..2b0deae84 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"