diff --git a/src/plugins/jobacct/aix/jobacct_aix.c b/src/plugins/jobacct/aix/jobacct_aix.c index ebabd49855cd35a8767ece46d8439f0f67ffc424..4c286c5dc404cce95b52bdf59fce1a5ea54a62d2 100644 --- a/src/plugins/jobacct/aix/jobacct_aix.c +++ b/src/plugins/jobacct/aix/jobacct_aix.c @@ -246,7 +246,9 @@ int jobacct_p_add_task(pid_t pid, uint16_t tid) struct jobacctinfo *jobacct_p_stat_task(pid_t pid) { +#ifdef HAVE_AIX _get_process_data(); +#endif return common_stat_task(pid); }