Only #include <sys/tls.h> on NetBSD
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
555e99a3bf
commit
5bd73b5107
@ -36,7 +36,9 @@ __RCSID("$NetBSD: h_tls_dlopen.c,v 1.5 2013/10/21 19:14:16 joerg Exp $");
|
||||
|
||||
#include <atf-c.h>
|
||||
#include <unistd.h>
|
||||
#if defined(__NetBSD__)
|
||||
#include <sys/tls.h>
|
||||
#endif
|
||||
|
||||
#ifdef __HAVE_NO___THREAD
|
||||
#define __thread
|
||||
|
@ -39,7 +39,9 @@ __RCSID("$NetBSD: t_tls_dlopen.c,v 1.3 2012/01/17 20:34:57 joerg Exp $");
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#include <sys/tls.h>
|
||||
#endif
|
||||
|
||||
#ifdef __HAVE_NO___THREAD
|
||||
#define __thread
|
||||
|
@ -38,7 +38,9 @@ __RCSID("$NetBSD: t_tls_dynamic.c,v 1.3 2012/01/17 20:34:57 joerg Exp $");
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#include <sys/tls.h>
|
||||
#endif
|
||||
|
||||
#ifdef __HAVE_NO___THREAD
|
||||
#define __thread
|
||||
|
@ -37,7 +37,9 @@ __RCSID("$NetBSD: t_tls_static.c,v 1.2 2012/01/17 20:34:57 joerg Exp $");
|
||||
#include <atf-c.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#include <sys/tls.h>
|
||||
#endif
|
||||
|
||||
#ifdef __HAVE_NO___THREAD
|
||||
#define __thread
|
||||
|
@ -34,7 +34,9 @@
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: t_tls_static_helper.c,v 1.2 2012/01/17 20:34:57 joerg Exp $");
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#include <sys/tls.h>
|
||||
#endif
|
||||
|
||||
#ifdef __HAVE_NO___THREAD
|
||||
#define __thread
|
||||
|
@ -35,7 +35,9 @@
|
||||
__RCSID("$NetBSD: h_tls_dynamic.c,v 1.5 2013/10/21 19:11:17 joerg Exp $");
|
||||
|
||||
#include <unistd.h>
|
||||
#if defined(__NetBSD__)
|
||||
#include <sys/tls.h>
|
||||
#endif
|
||||
|
||||
#ifdef __HAVE_NO___THREAD
|
||||
#define __thread
|
||||
|
Loading…
x
Reference in New Issue
Block a user