forked from enlightenment/efl
eina_thread.c: fix include guard.
DragonFlyBSD has pthread_setname_np but no pthread_setaffinity_np; we still need to include pthread_np though. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
35bae18e43
commit
731e88061a
|
@ -32,10 +32,10 @@
|
|||
|
||||
#include "eina_debug.h"
|
||||
|
||||
# include <pthread.h>
|
||||
# include <errno.h>
|
||||
#include <pthread.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef EINA_HAVE_PTHREAD_AFFINITY
|
||||
#if defined(EINA_HAVE_PTHREAD_AFFINITY) || defined(EINA_HAVE_PTHREAD_SETNAME)
|
||||
#ifndef __linux__
|
||||
#include <pthread_np.h>
|
||||
#define cpu_set_t cpuset_t
|
||||
|
|
Loading…
Reference in New Issue