From 8064aee4f978ff609e76dd43b3cfaa568174b994 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Thu, 27 Oct 2022 15:20:40 -0400 Subject: [PATCH] * src/job.c: [SV 63185] Don't use ifdef with HAVE_DECL_* macros --- src/job.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/job.c b/src/job.c index 21492441..bebe16e8 100644 --- a/src/job.c +++ b/src/job.c @@ -205,11 +205,10 @@ int getgid (); #endif #if HAVE_SYS_LOADAVG_H -# include # include #endif -#ifndef HAVE_DECL_GETLOADAVG +#if HAVE_DECL_GETLOADAVG == 0 int getloadavg (double loadavg[], int nelem); #endif