diff --git a/sysdeps/solaris/cpu.c b/sysdeps/solaris/cpu.c index d35ff10c..5b34e3b9 100644 --- a/sysdeps/solaris/cpu.c +++ b/sysdeps/solaris/cpu.c @@ -28,6 +28,8 @@ #include #include +#include + static const unsigned long _glibtop_sysdeps_cpu = (1L << GLIBTOP_CPU_TOTAL) + (1L << GLIBTOP_CPU_USER) + (1L << GLIBTOP_CPU_SYS) + (1L << GLIBTOP_CPU_IDLE) + diff --git a/sysdeps/solaris/mem.c b/sysdeps/solaris/mem.c index c712db06..ac21f0cb 100644 --- a/sysdeps/solaris/mem.c +++ b/sysdeps/solaris/mem.c @@ -27,6 +27,8 @@ #include #include +#include + static const unsigned long _glibtop_sysdeps_mem_os_sysconf = (1L << GLIBTOP_MEM_TOTAL); static const unsigned long _glibtop_sysdeps_mem_os_kstat = diff --git a/sysdeps/solaris/open.c b/sysdeps/solaris/open.c index e94ff5f7..845478fe 100644 --- a/sysdeps/solaris/open.c +++ b/sysdeps/solaris/open.c @@ -27,6 +27,8 @@ #include #include +#include + /* We need to call this when kstat_chain_update() returns new KID. * In that case all kstat pointers and data are invalid, so we * need to reread everything. The condition shouldn't happen very diff --git a/sysdeps/solaris/procsignal.c b/sysdeps/solaris/procsignal.c index 08afd184..aa51ee25 100644 --- a/sysdeps/solaris/procsignal.c +++ b/sysdeps/solaris/procsignal.c @@ -24,6 +24,8 @@ #include #include +#include + static const unsigned long _glibtop_sysdeps_proc_signal = (1L << GLIBTOP_PROC_SIGNAL_SIGNAL) + (1L << GLIBTOP_PROC_SIGNAL_BLOCKED); diff --git a/sysdeps/solaris/swap.c b/sysdeps/solaris/swap.c index 9cf6a617..b2e4721d 100644 --- a/sysdeps/solaris/swap.c +++ b/sysdeps/solaris/swap.c @@ -28,6 +28,8 @@ #include #include +#include + static const unsigned long _glibtop_sysdeps_swap = (1L << GLIBTOP_SWAP_TOTAL) + (1L << GLIBTOP_SWAP_USED) + (1L << GLIBTOP_SWAP_FREE);