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>
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. */
24 -#include "sysfile.h" /* for encapsulated open, close, read, write */
25 +#include <sys/types.h>
26 +#include <sys/stat.h>
29 #ifndef HAVE_GETLOADAVG