mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-29 20:34:08 +08:00
Do not redefine GNU source in modules
This commit is contained in:
parent
754aa6e94f
commit
5f9da470bb
@ -44,6 +44,7 @@
|
||||
#include <px4_config.h>
|
||||
#include <px4_time.h>
|
||||
#include <px4_tasks.h>
|
||||
#include <px4_defines.h>
|
||||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@ -36,9 +36,6 @@
|
||||
#include "px4_tasks.h"
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <cstdio>
|
||||
#ifdef __PX4_LINUX
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
#include <pthread.h>
|
||||
|
||||
#define LOG_TAG "uORBKraitFastRpcChannel.cpp"
|
||||
|
||||
@ -39,9 +39,6 @@
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#ifdef __PX4_LINUX
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
#include <pthread.h>
|
||||
|
||||
extern "C" __EXPORT hrt_abstime hrt_reset(void);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user