From 12a1ffd27bc484d309cc0d36436cd7fdeef5b9cf Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Fri, 11 Sep 2015 21:48:36 +0200 Subject: [PATCH] Commander: POSIX adjustments --- src/modules/commander/commander.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index f9477d6f7f..f02cb0a809 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -45,6 +45,7 @@ #include #include #include +#include #include #include #include @@ -57,9 +58,6 @@ #include #include //#include -#ifndef __PX4_QURT -#include -#endif #include #include #include @@ -2804,7 +2802,7 @@ void answer_command(struct vehicle_command_s &cmd, unsigned result) void *commander_low_prio_loop(void *arg) { -#ifndef __PX4_QURT +#if defined(__PX4_LINUX) || defined(__PX4_NUTTX) /* Set thread name */ prctl(PR_SET_NAME, "commander_low_prio", getpid()); #endif