fix implicit declaration of pthread_setname_np on musl

This commit is contained in:
rofl0r 2021-10-21 13:35:23 +00:00
parent f9393ab57c
commit 54f3549108
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#ifdef __unix__
#define _POSIX_C_SOURCE 199309
#define _GNU_SOURCE
#endif
#include <stdlib.h>