diff options
Diffstat (limited to 'src/platforms/px4_middleware.h')
-rw-r--r-- | src/platforms/px4_middleware.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/platforms/px4_middleware.h b/src/platforms/px4_middleware.h index d1c0656af..eebfc9049 100644 --- a/src/platforms/px4_middleware.h +++ b/src/platforms/px4_middleware.h @@ -40,19 +40,20 @@ #pragma once #include <stdint.h> +#include <unistd.h> namespace px4 { -void init(int argc, char *argv[], const char *process_name); +__EXPORT void init(int argc, char *argv[], const char *process_name); -uint64_t get_time_micros(); +__EXPORT uint64_t get_time_micros(); -bool ok(); +__EXPORT bool ok(); -void spin_once(); +__EXPORT void spin_once(); -void spin(); +__EXPORT void spin(); class Rate { |