aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-12-16 08:24:51 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-12-16 08:24:51 +0100
commit9520983e08397c453af735d0ff0736cc007c2c45 (patch)
tree171df31a96bd6863c5dfd94242274177f9413dd2 /src/include
parent9980e4482146333340cc105b560bdbd26acb999f (diff)
downloadpx4-firmware-9520983e08397c453af735d0ff0736cc007c2c45.tar.gz
px4-firmware-9520983e08397c453af735d0ff0736cc007c2c45.tar.bz2
px4-firmware-9520983e08397c453af735d0ff0736cc007c2c45.zip
lots' of header juggling and small changes to make mc att control compile for NuttX and ROS
Diffstat (limited to 'src/include')
-rw-r--r--src/include/px4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/px4.h b/src/include/px4.h
index ca702d63c..34137ee6f 100644
--- a/src/include/px4.h
+++ b/src/include/px4.h
@@ -41,6 +41,8 @@
#include "../platforms/px4_includes.h"
#include "../platforms/px4_defines.h"
+#ifdef __cplusplus
#include "../platforms/px4_middleware.h"
#include "../platforms/px4_nodehandle.h"
#include "../platforms/px4_subscriber.h"
+#endif