summaryrefslogtreecommitdiff
path: root/indra/llrender/llfontfreetypesvg.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llrender/llfontfreetypesvg.h')
-rw-r--r--indra/llrender/llfontfreetypesvg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llrender/llfontfreetypesvg.h b/indra/llrender/llfontfreetypesvg.h
index 4170cab273..94b83d5fff 100644
--- a/indra/llrender/llfontfreetypesvg.h
+++ b/indra/llrender/llfontfreetypesvg.h
@@ -29,7 +29,11 @@
#include <ft2build.h>
#include FT_TYPES_H
#include FT_MODULE_H
-#include FT_OTSVG_H
+#ifdef FT_OTSVG_H
+ #include FT_OTSVG_H
+#else
+ #define LL_NO_OTSVG
+#endif
// See https://freetype.org/freetype2/docs/reference/ft2-svg_fonts.html
class LLFontFreeTypeSvgRenderer