|
|
commit f3640a7312413ef8afc2db1060137a04eea2a016
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Sat Mar 23 17:00:03 2024 +0100
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Sat Mar 23 17:00:03 2024 +0100
Add necessary #include <config.h> directives
src/fl_draw_pixmap.cxx | 1 +
src/nanosvg.cxx | 1 +
2 files changed, 2 insertions(+)
diff --git src/fl_draw_pixmap.cxx src/fl_draw_pixmap.cxx
index 3384f25..d2d8816 100644
--- src/fl_draw_pixmap.cxx
+++ 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 src/nanosvg.cxx src/nanosvg.cxx
index abb9831..2a4f0e9 100644
--- src/nanosvg.cxx
+++ 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)
[ Direct Link to Message ] | |
|
| |