summaryrefslogtreecommitdiffstats
path: root/modules/text_server_fb/dynamic_font_fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/text_server_fb/dynamic_font_fb.h')
-rw-r--r--modules/text_server_fb/dynamic_font_fb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/text_server_fb/dynamic_font_fb.h b/modules/text_server_fb/dynamic_font_fb.h
index 81b18f6af3..eb70f46666 100644
--- a/modules/text_server_fb/dynamic_font_fb.h
+++ b/modules/text_server_fb/dynamic_font_fb.h
@@ -33,6 +33,10 @@
#include "font_fb.h"
+#include "modules/modules_enabled.gen.h"
+
+#ifdef MODULE_FREETYPE_ENABLED
+
#include <ft2build.h>
#include FT_FREETYPE_H
@@ -163,4 +167,6 @@ public:
virtual ~DynamicFontDataFallback() override;
};
+#endif // MODULE_FREETYPE_ENABLED
+
#endif // DYNAMIC_FONT_FALLBACK_H