From 977238077980ee702a833099720eda55e78043f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Mon, 7 May 2018 13:12:16 +0200 Subject: [PATCH] posix main: avoid declaring px4_main_t, include the correct header instead --- platforms/posix/src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platforms/posix/src/main.cpp b/platforms/posix/src/main.cpp index e4666b392d..d0b19233a7 100644 --- a/platforms/posix/src/main.cpp +++ b/platforms/posix/src/main.cpp @@ -53,6 +53,7 @@ #include "DriverFramework.hpp" #include #include +#include namespace px4 { @@ -61,8 +62,6 @@ void init_once(); using namespace std; -typedef int (*px4_main_t)(int argc, char *argv[]); - #define CMD_BUFF_SIZE 100 #ifdef PATH_MAX