diff --git a/src/platforms/posix/work_queue/hrt_thread.c b/src/platforms/posix/work_queue/hrt_thread.c index d9f8055519..ea185525ac 100644 --- a/src/platforms/posix/work_queue/hrt_thread.c +++ b/src/platforms/posix/work_queue/hrt_thread.c @@ -41,12 +41,6 @@ #include #include #include -#ifdef __PX4_LINUX -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif -#endif -#include #include #include #include @@ -130,7 +124,8 @@ static void hrt_work_process() #ifdef __PX4_DARWIN rv = pthread_setname_np("HRT"); #else - rv = pthread_setname_np(pthread_self(), "HRT"); + // The Linux headers do not actually contain this + //rv = pthread_setname_np(pthread_self(), "HRT"); #endif /* Then process queued work. We need to keep interrupts disabled while