diff --git a/src/platforms/posix/work_queue/work_thread.c b/src/platforms/posix/work_queue/work_thread.c index 8a88bdc505..f8ff2a52fd 100644 --- a/src/platforms/posix/work_queue/work_thread.c +++ b/src/platforms/posix/work_queue/work_thread.c @@ -45,6 +45,10 @@ #include #include #include +#ifdef __PX4_LINUX +#define _GNU_SOURCE +#endif +#include #include #include #include "work_lock.h"