Add necessary #include <config.h> directives

This commit is contained in:
ManoloFLTK 2024-03-23 17:00:03 +01:00
parent 1c910720bf
commit f3640a7312
2 changed files with 2 additions and 0 deletions

View File

@ -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>

View File

@ -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)