Fix compiler warning by including a required header

This commit is contained in:
Gleb Popov 2021-02-25 10:09:58 +03:00 committed by Wim Taymans
parent 9f53057b51
commit 96fda265e0

View file

@ -37,6 +37,7 @@
#define pw_thread_loop_events_destroy(o) pw_thread_loop_events_emit(o, destroy, 0) #define pw_thread_loop_events_destroy(o) pw_thread_loop_events_emit(o, destroy, 0)
#ifdef __FreeBSD__ #ifdef __FreeBSD__
#include <pthread_np.h>
#define pthread_setname_np pthread_set_name_np #define pthread_setname_np pthread_set_name_np
#endif #endif