Skip to content
Snippets Groups Projects
Commit aac7b8d7 authored by Julian Oes's avatar Julian Oes
Browse files

platforms: fix NuttX build

parent 14e5ebbb
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,13 @@
#define clockid_t int
#endif
#if defined(__PX4_POSIX) || defined(__PX4_QURT)
__BEGIN_DECLS
__EXPORT int px4_clock_gettime(clockid_t clk_id, struct timespec *tp);
__END_DECLS
#else
#define px4_clock_gettime system_clock_gettime
#endif
#if defined(ENABLE_LOCKSTEP_SCHEDULER) || defined(__PX4_QURT)
......
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