mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-07 01:20:34 +08:00
Work thread: Add missing header for Linux
This commit is contained in:
@@ -45,6 +45,10 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <queue.h>
|
||||
#ifdef __PX4_LINUX
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
#include <pthread.h>
|
||||
#include <px4_workqueue.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include "work_lock.h"
|
||||
|
||||
Reference in New Issue
Block a user