px4_log.c: fix cygwin include

This commit is contained in:
Beat Küng
2018-08-06 20:02:26 +02:00
committed by Lorenz Meier
parent a5de82aaa8
commit 22b47a84f5

View File

@@ -34,8 +34,10 @@
#include <stdlib.h>
#include <string.h>
#include <px4_log.h>
#if defined(__PX4_POSIX) && !defined(__PX4_CYGWIN)
#if defined(__PX4_POSIX)
#if !defined(__PX4_CYGWIN)
#include <execinfo.h>
#endif
#include <px4_daemon/server_io.h>
#endif