From 4dac715e4e394714d0676fa6675ff89d2871f380 Mon Sep 17 00:00:00 2001 From: Tobias Fischer Date: Wed, 3 Mar 2021 08:19:39 +1000 Subject: [PATCH] Cross-platform include of endian.h --- generator/CPP11/include_v2.0/msgmap.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/generator/CPP11/include_v2.0/msgmap.hpp b/generator/CPP11/include_v2.0/msgmap.hpp index 92cf9e7a5..a3956aa20 100644 --- a/generator/CPP11/include_v2.0/msgmap.hpp +++ b/generator/CPP11/include_v2.0/msgmap.hpp @@ -2,7 +2,13 @@ #pragma once #include +#ifdef FREEBSD +#include +#elif __APPLE__ +#include +#else #include +#endif #include namespace mavlink {