openwrt-packages/utils/at/patches/110-getloadavg.patch

15 lines
303 B
Diff

--- a/getloadavg.c
+++ b/getloadavg.c
@@ -69,8 +69,9 @@ Boston, MA 02110-1301 USA */
#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