From 4eda31cea9fb3c77fe2748a65960f24ffb42f9ff Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 23 Jul 2021 16:51:17 +0200 Subject: [PATCH] getloadavg: fix getloadavg.c compilation, revert to 3.1.10 version getloadavg.c shipped with 3.1.13 doesn't compile because it references headers not shipped. Fix it by simply reverting to the 3.1.10 version. Signed-off-by: Peter Korsgaard Signed-off-by: Giulio Benetti [Giulio: convert patch to git format] --- getloadavg.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/getloadavg.c b/getloadavg.c index cf5869f..23d18eb 100644 --- a/getloadavg.c +++ b/getloadavg.c @@ -66,11 +66,12 @@ Boston, MA 02110-1301 USA */ /* This should always be first. */ #ifdef HAVE_CONFIG_H -#include +#include "config.h" #endif -#include "lisp.h" -#include "sysfile.h" /* for encapsulated open, close, read, write */ +#include +#include +#include #ifndef HAVE_GETLOADAVG -- 2.25.1