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"