From 2f434eb39545cb8db549de1773185d67719eedea Mon Sep 17 00:00:00 2001 From: Mark Charlebois Date: Mon, 11 May 2015 16:14:06 -0700 Subject: [PATCH] POSIX: fixups for px4_log.h change After merge from qurt branch, fixups for posix build Signed-off-by: Mark Charlebois --- src/drivers/device/sim.cpp | 2 +- src/drivers/device/vdev_posix.cpp | 1 + src/platforms/px4_log.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/drivers/device/sim.cpp b/src/drivers/device/sim.cpp index 75127d0e2d..4e952409eb 100644 --- a/src/drivers/device/sim.cpp +++ b/src/drivers/device/sim.cpp @@ -40,7 +40,7 @@ * that is supplied. Should we just depend on the bus knowing? */ -#include +#include #include #include #include diff --git a/src/drivers/device/vdev_posix.cpp b/src/drivers/device/vdev_posix.cpp index d3b54c3db5..fdd2e73210 100644 --- a/src/drivers/device/vdev_posix.cpp +++ b/src/drivers/device/vdev_posix.cpp @@ -37,6 +37,7 @@ * POSIX-like API for virtual character device */ +#include #include #include #include "device.h" diff --git a/src/platforms/px4_log.h b/src/platforms/px4_log.h index e0d3cff8d4..6fd8387326 100644 --- a/src/platforms/px4_log.h +++ b/src/platforms/px4_log.h @@ -59,6 +59,7 @@ __END_DECLS #endif #define PX4_DBG(...) +#define PX4_DEBUG(...) #define PX4_INFO(...) warnx(__VA_ARGS__) #define PX4_WARN(...) warnx(__VA_ARGS__) #define PX4_ERR(...) { warnx("ERROR file %s line %d:", __FILE__, __LINE__); warnx(__VA_ARGS__); }