platforms: fix linking issues for NuttX build

This commit is contained in:
Julian Oes
2018-12-22 10:32:18 +01:00
parent a193e4117c
commit 8cbe26c6f6
3 changed files with 13 additions and 1 deletions
+4
View File
@@ -101,8 +101,12 @@
// like uavcan and we don't need to fake time on the real system.
#include <unistd.h>
#include <time.h>
#define system_usleep usleep
#define system_sleep sleep
#define system_clock_gettime clock_gettime
#define system_clock_settime clock_settime
#pragma GCC poison getenv setenv putenv
#endif /* __PX4_NUTTX */