summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-23 17:00:03 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-23 17:00:03 +0100
commitf3640a7312413ef8afc2db1060137a04eea2a016 (patch)
treec40b9d33d2e85b079fccb7c138e82f6ca7e8c74d
parent1c910720bf707e7006e8e89913681fb3ece05ee7 (diff)
Add necessary #include <config.h> directives
-rw-r--r--src/fl_draw_pixmap.cxx1
-rw-r--r--src/nanosvg.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/fl_draw_pixmap.cxx b/src/fl_draw_pixmap.cxx
index 3384f2561..d2d8816e2 100644
--- a/src/fl_draw_pixmap.cxx
+++ b/src/fl_draw_pixmap.cxx
@@ -30,6 +30,7 @@
// The above comments were checked in as r2, and much has changed since then;
// transparency added, color cube not required, etc. -erco Oct 20 2013
+#include <config.h>
#include <FL/Fl.H>
#include "Fl_System_Driver.H"
#include <FL/platform.H>
diff --git a/src/nanosvg.cxx b/src/nanosvg.cxx
index abb98310b..2a4f0e987 100644
--- a/src/nanosvg.cxx
+++ b/src/nanosvg.cxx
@@ -34,6 +34,7 @@
// Once this is available we can remove this comment block and
// the following 3-line "fix":
+#include <config.h>
#include <math.h> // must be before #define below !
static float nsvg__roundf(float x); // prototype (see nanosvgrast.h)
#define roundf nsvg__roundf // redefinition (#937)