tst_test: don't include tst_safe_pthread

tst_safe_pthread.h requires pthread_t and pthread_attr_t, so requires
pthread.h to be included. This fixes building for Android, which didn't
have the required pthread declarations without including pthread.h
before tst_safe_pthread.h.

Tests which require tst_safe_pthread.h now explicitly include it.

Signed-off-by: Steven Jackson <sj@oscode.net>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
5 files changed