website: update Free Electrons logo
[buildroot-gz.git] / package / at / 0004-getloadavg.c-fix.patch
blobe0739271efb1ad09cc52489c0ed18e246915fea3
1 [PATCH]: fix getloadavg.c compilation, revert to 3.1.10 version
3 getloadavg.c shipped with 3.1.13 doesn't compile because it references
4 headers not shipped. Fix it by simply reverting to the 3.1.10 version.
6 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
7 ---
8 getloadavg.c | 7 ++++---
9 1 file changed, 4 insertions(+), 3 deletions(-)
11 Index: at-3.1.13/getloadavg.c
12 ===================================================================
13 --- at-3.1.13.orig/getloadavg.c
14 +++ at-3.1.13/getloadavg.c
15 @@ -66,11 +66,12 @@ Boston, MA 02110-1301 USA */
17 /* This should always be first. */
18 #ifdef HAVE_CONFIG_H
19 -#include <config.h>
20 +#include "config.h"
21 #endif
23 -#include "lisp.h"
24 -#include "sysfile.h" /* for encapsulated open, close, read, write */
25 +#include <sys/types.h>
26 +#include <sys/stat.h>
27 +#include <fcntl.h>
29 #ifndef HAVE_GETLOADAVG