From 79db69c48da9c4ffa514e060d893da5ec401107b Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Fri, 6 May 2022 15:11:02 +0200 Subject: Fix Solaris / OmniOS build --- SignalsPanel.c | 2 +- SignalsPanel.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/SignalsPanel.c b/SignalsPanel.c index cb71130f..7e21ce93 100644 --- a/SignalsPanel.c +++ b/SignalsPanel.c @@ -6,8 +6,8 @@ in the source distribution for its full text. */ #include "SignalsPanel.h" +// the above contains #include so do not add that here again (breaks Solaris build) -#include #include #include "FunctionBar.h" diff --git a/SignalsPanel.h b/SignalsPanel.h index 7b9303fe..529043a1 100644 --- a/SignalsPanel.h +++ b/SignalsPanel.h @@ -7,7 +7,11 @@ Released under the GNU GPLv2+, see the COPYING file in the source distribution for its full text. */ +#include "config.h" // IWYU pragma: keep + +#ifndef HTOP_SOLARIS #include +#endif #include "Panel.h" -- cgit v1.2.3