From 2cd258b8c92f8acc861c83f768302d9dc8494356 Mon Sep 17 00:00:00 2001 From: Dominik Hassler Date: Sun, 13 Oct 2024 11:23:48 +0000 Subject: [PATCH 1/2] illumos defines _MAX macros in limits.h --- src/rrd_config_bottom.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/rrd_config_bottom.h b/src/rrd_config_bottom.h index 82d04e09a..94091400d 100644 --- a/src/rrd_config_bottom.h +++ b/src/rrd_config_bottom.h @@ -27,6 +27,12 @@ #ifdef HAVE_SYS_PARAM_H # include #endif + +/* illumos defines *_MAX macros in limits.h */ +#ifdef __illumos__ +# include +#endif + #ifndef MAXPATH # ifdef PATH_MAX # define MAXPATH PATH_MAX From 4cb775a8869d15adf1d3390e27dad44fad917a73 Mon Sep 17 00:00:00 2001 From: Tobias Oetiker Date: Tue, 15 Oct 2024 10:51:00 +0200 Subject: [PATCH 2/2] Update CHANGES --- CHANGES | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES b/CHANGES index c2bb3af08..f9f1ddc51 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,7 @@ Bugfixes -------- * Fix MacOS Build error (no SOCK_CLOEXEC on mac) @ensc fixes oetiker#1261 * Fix build on 32bits platforms (like armhf) when time_t is 64bits, fixes #1264 +* Fix compilation on illumos @hadfl Features --------