summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/nanosvg.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-10-05 22:18:22 +1100
committer Vas Crabb <vas@vastheman.com>2020-10-05 22:18:22 +1100
commitf390ea1004a4563bb79912a1a13d5de70c2e316b (patch)
tree51f3367173c2c8088a9514cfb084b34967587763 /src/lib/util/nanosvg.cpp
parenta89f9b274e9968aab7fde58110c3cb72378c4843 (diff)
3rdparty/nanosvg: Re-base on latest upstream.
Now based on upstream cc6c08d3a80f1a305021af3d6394cdf1535d02a2. Among other things, this version is supposed to be less sensitive to the global locale.
Diffstat (limited to 'src/lib/util/nanosvg.cpp')
-rw-r--r--src/lib/util/nanosvg.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/util/nanosvg.cpp b/src/lib/util/nanosvg.cpp
index 09973865675..0cb05308d19 100644
--- a/src/lib/util/nanosvg.cpp
+++ b/src/lib/util/nanosvg.cpp
@@ -1,6 +1,10 @@
+#include <stdio.h>
+#include <string.h>
+#include <math.h>
+
+#define NANOSVG_ALL_COLOR_KEYWORDS
#define NANOSVG_IMPLEMENTATION
#define NANOSVGRAST_IMPLEMENTATION
-#define NANOSVG_ALL_COLOR_KEYWORDS
#include <nanosvg/src/nanosvg.h>
#include <nanosvg/src/nanosvgrast.h>