summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/libc_pthread_init.c
diff options
context:
space:
mode:
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"