--- at-3.1.10ubuntu4/getloadavg.c	2008-04-21 21:54:03.000000000 +0200
+++ at-3.1.10ubuntu4/getloadavg.c	2008-04-21 21:54:21.000000000 +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
 
