This is only a quickfix for 2.30, 2.31 will link files differently.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-atfork-link.diff
#include <pt-internal.h>
#include <pthreadP.h>
+#include <dso_handle.h>
__thread struct __pthread *___pthread_self;
when we return from here) shouldn't be seen as a user thread. */
__pthread_total--;
- __pthread_atfork (NULL, NULL, reset_pthread_total);
+ __register_atfork (NULL, NULL, reset_pthread_total, __dso_handle);
/* Make MiG code thread aware. */
__mig_init (thread->stackaddr);