1 |
blueness 13/02/26 20:31:49 |
2 |
|
3 |
Added: at-3.1.13-getloadavg.patch |
4 |
Log: |
5 |
non-maintainer commit: fix getloadavg for uclibc |
6 |
|
7 |
(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sys-process/at/files/at-3.1.13-getloadavg.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/at/files/at-3.1.13-getloadavg.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/at/files/at-3.1.13-getloadavg.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: at-3.1.13-getloadavg.patch |
16 |
=================================================================== |
17 |
diff --git a/getloadavg.c b/getloadavg.c |
18 |
index cf5869f..c7e2b27 100644 |
19 |
--- a/getloadavg.c |
20 |
+++ b/getloadavg.c |
21 |
@@ -69,8 +69,12 @@ Boston, MA 02110-1301 USA */ |
22 |
#include <config.h> |
23 |
#endif |
24 |
|
25 |
-#include "lisp.h" |
26 |
-#include "sysfile.h" /* for encapsulated open, close, read, write */ |
27 |
+#include <sys/types.h> |
28 |
+#include <sys/stat.h> |
29 |
+#include <fcntl.h> |
30 |
+ |
31 |
+//#include "lisp.h" |
32 |
+//#include "sysfile.h" /* for encapsulated open, close, read, write */ |
33 |
|
34 |
#ifndef HAVE_GETLOADAVG |