res_send: use a temp buffer if caller's buffer is under 512 bytes
[musl] / src / thread / vmlock.c
index 75f3cb7..fa0a8e3 100644 (file)
@@ -1,6 +1,8 @@
 #include "pthread_impl.h"
+#include "fork_impl.h"
 
 static volatile int vmlock[2];
+volatile int *const __vmlock_lockptr = vmlock;
 
 void __vm_wait()
 {