Added include order warning

This commit is contained in:
Lorenz Meier
2014-06-08 18:48:31 +02:00
parent 2235a86a66
commit 4b70a0d046

View File

@@ -5,6 +5,10 @@
#ifndef COMMON_H
#define COMMON_H
#ifndef MAVLINK_H
#error Wrong include order: common.h MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set all defines from mavlink.h manually.
#endif
#ifdef __cplusplus
extern "C" {
#endif