Fix Solaris / OmniOS build

This commit is contained in:
Daniel Lange 2022-05-06 15:11:02 +02:00 committed by BenBE
parent 9fc72c1e9c
commit 79db69c48d
2 changed files with 5 additions and 1 deletions

View File

@ -6,8 +6,8 @@ in the source distribution for its full text.
*/ */
#include "SignalsPanel.h" #include "SignalsPanel.h"
// the above contains #include <signal.h> so do not add that here again (breaks Solaris build)
#include <signal.h>
#include <stdbool.h> #include <stdbool.h>
#include "FunctionBar.h" #include "FunctionBar.h"

View File

@ -7,7 +7,11 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text. in the source distribution for its full text.
*/ */
#include "config.h" // IWYU pragma: keep
#ifndef HTOP_SOLARIS
#include <signal.h> #include <signal.h>
#endif
#include "Panel.h" #include "Panel.h"