summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2025-04-05 14:53:24 -0700
committerGreg Ercolano <erco@seriss.com>2025-04-05 14:53:24 -0700
commit70a104131a8d1f24e3d1aff0eb25d9859d85e2ec (patch)
tree7e0118d90045e84959195aa3130a7ba1183ab518
parent61f132845ba66462435cd8247d87d45e76ff32c9 (diff)
Solve Mac 10.10.5 fluid build errors (#1245)
-rw-r--r--fluid/Project.cxx1
-rw-r--r--fluid/app/templates.cxx2
-rw-r--r--fluid/panels/codeview_panel.cxx1
-rw-r--r--fluid/panels/widget_panel.cxx1
-rw-r--r--fluid/widgets/Code_Editor.cxx1
5 files changed, 5 insertions, 1 deletions
diff --git a/fluid/Project.cxx b/fluid/Project.cxx
index 9eb555299..c7c517a1d 100644
--- a/fluid/Project.cxx
+++ b/fluid/Project.cxx
@@ -14,6 +14,7 @@
// https://www.fltk.org/bugs.php
//
+#include <errno.h> // strerror(errno)
#include "Project.h"
#include "io/String_Writer.h"
diff --git a/fluid/app/templates.cxx b/fluid/app/templates.cxx
index 802357ed2..6099cb41b 100644
--- a/fluid/app/templates.cxx
+++ b/fluid/app/templates.cxx
@@ -13,7 +13,7 @@
//
// https://www.fltk.org/bugs.php
//
-
+#include <errno.h> // strerror(errno)
#include "app/templates.h"
#include "Fluid.h"
diff --git a/fluid/panels/codeview_panel.cxx b/fluid/panels/codeview_panel.cxx
index 745ad0ad1..579e4e622 100644
--- a/fluid/panels/codeview_panel.cxx
+++ b/fluid/panels/codeview_panel.cxx
@@ -16,6 +16,7 @@
// generated by Fast Light User Interface Designer (fluid) version 1.0500
+#include <stdlib.h> // malloc()
#include "codeview_panel.h"
#include "Fluid.h"
#include "Project.h"
diff --git a/fluid/panels/widget_panel.cxx b/fluid/panels/widget_panel.cxx
index 61b480f36..29d75f01b 100644
--- a/fluid/panels/widget_panel.cxx
+++ b/fluid/panels/widget_panel.cxx
@@ -16,6 +16,7 @@
// generated by Fast Light User Interface Designer (fluid) version 1.0500
+#include <stdlib.h> // free()
#include "widget_panel.h"
#include "Fluid.h"
#include "app/Snap_Action.h"
diff --git a/fluid/widgets/Code_Editor.cxx b/fluid/widgets/Code_Editor.cxx
index b4379c845..216ffab8f 100644
--- a/fluid/widgets/Code_Editor.cxx
+++ b/fluid/widgets/Code_Editor.cxx
@@ -20,6 +20,7 @@
// Include necessary headers...
//
+#include <stdlib.h>
#include "widgets/Code_Editor.h"
using namespace fld;