--- at-3.1.12/getloadavg.c 2009-11-23 16:11:52.000000000 +0100 +++ at-3.1.12/getloadavg.c 2011-03-30 13:59:32.261558198 +0200 @@ -69,8 +69,9 @@ #include <config.h> #endif -#include "lisp.h" -#include "sysfile.h" /* for encapsulated open, close, read, write */ +#include <sys/types.h> +#include <sys/stat.h> +#include <fcntl.h> #ifndef HAVE_GETLOADAVG