Browse Source

Linux compile fix

sbg
Lorenz Meier 9 years ago
parent
commit
2db915080c
  1. 5
      src/platforms/posix/work_queue/hrt_thread.c

5
src/platforms/posix/work_queue/hrt_thread.c

@ -41,6 +41,11 @@ @@ -41,6 +41,11 @@
#include <px4_config.h>
#include <px4_defines.h>
#include <px4_posix.h>
#ifdef __PX4_LINUX
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#endif
#include <pthread.h>
#include <stdint.h>
#include <signal.h>

Loading…
Cancel
Save