cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=731e88061a924bf3c9096625640281dfcee9d068
commit 731e88061a924bf3c9096625640281dfcee9d068 Author: Benjamin Jacobs <[email protected]> Date: Mon Jun 6 11:23:09 2016 -0700 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 <[email protected]> --- src/lib/eina/eina_thread.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/eina/eina_thread.c b/src/lib/eina/eina_thread.c index 3216719..37f66fd 100644 --- a/src/lib/eina/eina_thread.c +++ b/src/lib/eina/eina_thread.c @@ -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 --
