From 0af83f9364a42deb8cab853e8e2b90ef83fef1ab Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 2 Jul 2018 09:35:18 +1000 Subject: [PATCH] AP_OSD: use correct SFML header file --- libraries/AP_OSD/AP_OSD_SITL.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/AP_OSD/AP_OSD_SITL.h b/libraries/AP_OSD/AP_OSD_SITL.h index 43abcd93ff..f8964e610f 100644 --- a/libraries/AP_OSD/AP_OSD_SITL.h +++ b/libraries/AP_OSD/AP_OSD_SITL.h @@ -18,7 +18,12 @@ #ifdef WITH_SITL_OSD #include + +#ifdef HAVE_SFML_GRAPHICS_H +#include +#else #include +#endif class AP_OSD_SITL : public AP_OSD_Backend {