Browse Source

Work thread: Add missing header for Linux

sbg
Lorenz Meier 9 years ago
parent
commit
754aa6e94f
  1. 4
      src/platforms/posix/work_queue/work_thread.c

4
src/platforms/posix/work_queue/work_thread.c

@ -45,6 +45,10 @@
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <queue.h> #include <queue.h>
#ifdef __PX4_LINUX
#define _GNU_SOURCE
#endif
#include <pthread.h>
#include <px4_workqueue.h> #include <px4_workqueue.h>
#include <drivers/drv_hrt.h> #include <drivers/drv_hrt.h>
#include "work_lock.h" #include "work_lock.h"

Loading…
Cancel
Save