Index: demo/html/linkedaxes.1.js
Index: src/color.c
--- src/color.c.orig	2023-12-19 22:21:14.000000000 +0100
+++ src/color.c	2024-01-01 13:09:20.844198000 +0100
@@ -94,7 +94,7 @@
 
 
 void
-init_color()
+gnuplot_init_color()
 {
   /* initialize global palette */
   sm_palette.colorFormulae = 37;  /* const */
@@ -1691,7 +1691,7 @@
     free_at(sm_palette.Afunc.at);
     free_at(sm_palette.Bfunc.at);
     free_at(sm_palette.Cfunc.at);
-    init_color();
+    gnuplot_init_color();
     pm3d_last_set_palette_mode = SMPAL_COLOR_MODE_NONE;
 }
 
Index: src/color.h
--- src/color.h.orig	2023-12-18 20:04:32.000000000 +0100
+++ src/color.h	2024-01-01 13:07:04.600469000 +0100
@@ -227,7 +227,7 @@
 /* ROUTINES */
 
 
-void init_color(void);  /* call once to initialize variables */
+void gnuplot_init_color(void);  /* call once to initialize variables */
 
 
 /*
Index: src/command.c
--- src/command.c.orig	2023-12-21 00:46:06.000000000 +0100
+++ src/command.c	2024-01-01 13:07:04.600923000 +0100
@@ -156,6 +156,8 @@
 struct lexical_unit *token;
 int token_table_size;
 
+#include <sys/types.h>
+#include <sys/wait.h>
 
 char *gp_input_line;
 size_t gp_input_line_len;
