diff --git a/src/platforms/px4_posix.h b/src/platforms/px4_posix.h index 9aa7c0e15a..9674b1c896 100644 --- a/src/platforms/px4_posix.h +++ b/src/platforms/px4_posix.h @@ -71,7 +71,7 @@ __END_DECLS #else -typedef px4_sem_t sem_t +typedef sem_t px4_sem_t #define px4_sem_init _GLOBAL sem_init #define px4_sem_wait _GLOBAL sem_wait