12 lines
299 B
Diff
12 lines
299 B
Diff
|
--- a/parallel.c
|
||
|
+++ b/parallel.c
|
||
|
@@ -241,7 +241,7 @@ pid_t create_pipe_child(int *fd, int orig_fd)
|
||
|
return pipe_child(fds[0], orig_fd);
|
||
|
}
|
||
|
|
||
|
-#if defined(__CYGWIN__)
|
||
|
+#if defined(__CYGWIN__) || defined(__UCLIBC__)
|
||
|
int getloadavg(double loadavg[], int nelem) {
|
||
|
int fd, n, elem;
|
||
|
char buf[128];
|