AP_OSD: use correct SFML header file

This commit is contained in:
Andrew Tridgell 2018-07-02 09:35:18 +10:00
parent d3bc281a10
commit 0af83f9364
1 changed files with 5 additions and 0 deletions

View File

@ -18,7 +18,12 @@
#ifdef WITH_SITL_OSD
#include <AP_OSD/AP_OSD_Backend.h>
#ifdef HAVE_SFML_GRAPHICS_H
#include <SFML/Graphics.h>
#else
#include <SFML/Graphics.hpp>
#endif
class AP_OSD_SITL : public AP_OSD_Backend {