fix-pamalloc.patch 350 B

123456789101112131415
  1. diff --git a/src/thread/pthread_atfork.c b/src/thread/pthread_atfork.c
  2. index 76497401..f4e2cf7e 100644
  3. --- a/src/thread/pthread_atfork.c
  4. +++ b/src/thread/pthread_atfork.c
  5. @@ -2,6 +2,8 @@
  6. #include "libc.h"
  7. #include "lock.h"
  8. +#define malloc __libc_malloc
  9. +
  10. static struct atfork_funcs {
  11. void (*prepare)(void);
  12. void (*parent)(void);