* src/job.c: [SV 63185] Don't use ifdef with HAVE_DECL_* macros

This commit is contained in:
Paul Smith 2022-10-27 15:20:40 -04:00
parent cf78e65fda
commit 8064aee4f9

View file

@ -205,11 +205,10 @@ int getgid ();
#endif
#if HAVE_SYS_LOADAVG_H
# include <sys/time.h>
# include <sys/loadavg.h>
#endif
#ifndef HAVE_DECL_GETLOADAVG
#if HAVE_DECL_GETLOADAVG == 0
int getloadavg (double loadavg[], int nelem);
#endif