Skip to content
Snippets Groups Projects
Commit a54b40c4 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Do not redefine GNU source in platform for POSIX

parent 5f9da470
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@
#include <px4_defines.h>
#include <px4_middleware.h>
#include <px4_workqueue.h>
#include <px4_defines.h>
#include <stdint.h>
#include <stdio.h>
#include <signal.h>
......@@ -49,9 +50,6 @@
#include "hrt_work.h"
#include <drivers/drv_hrt.h>
#include "px4_time.h"
#ifdef __PX4_LINUX
#define _GNU_SOURCE
#endif
#include <pthread.h>
extern pthread_t _shell_task_id;
......
......@@ -38,6 +38,7 @@
*/
#include <px4_log.h>
#include <px4_defines.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
......@@ -48,9 +49,6 @@
#include <sched.h>
#include <unistd.h>
#include <string.h>
#ifdef __PX4_LINUX
#define _GNU_SOURCE
#endif
#include <pthread.h>
#include <sys/stat.h>
......
......@@ -41,9 +41,6 @@
#include <px4_config.h>
#include <px4_defines.h>
#include <px4_posix.h>
#ifdef __PX4_LINUX
#define _GNU_SOURCE
#endif
#include <pthread.h>
#include <stdint.h>
#include <signal.h>
......
......@@ -45,9 +45,6 @@
#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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment