summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-03-02 09:49:02 +0800
committerErik Kundiman <erik@megapahit.org>2024-03-02 09:49:02 +0800
commit5261073b7ff64cfe39d9fd864e6f78dc9ac60a2f (patch)
tree46ad74e648a0a7df6aeb746aa0f38f60dbe4cd75 /indra/llrender
parent64a181fdde219328560eee0ff5b87f02ba36a65f (diff)
No NanoSVG encapsulating directory only on FreeBSD
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llfontfreetypesvg.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llrender/llfontfreetypesvg.cpp b/indra/llrender/llfontfreetypesvg.cpp
index 95cb9eca16..6e2e755a18 100644
--- a/indra/llrender/llfontfreetypesvg.cpp
+++ b/indra/llrender/llfontfreetypesvg.cpp
@@ -34,9 +34,17 @@
#endif
#define NANOSVG_IMPLEMENTATION
+#if LL_FREEBSD
#include <nanosvg.h>
+#else
+#include <nanosvg/nanosvg.h>
+#endif
#define NANOSVGRAST_IMPLEMENTATION
+#if LL_FREEBSD
#include <nanosvgrast.h>
+#else
+#include <nanosvg/nanosvgrast.h>
+#endif
#if LL_WINDOWS
#pragma warning (pop)