From: Paul Smith Date: Thu, 27 Oct 2022 19:20:40 +0000 (-0400) Subject: * src/job.c: [SV 63185] Don't use ifdef with HAVE_DECL_* macros X-Git-Tag: 4.4~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8064aee4f978ff609e76dd43b3cfaa568174b994;p=thirdparty%2Fmake.git * src/job.c: [SV 63185] Don't use ifdef with HAVE_DECL_* macros --- 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