From 4a4794e041edf85cb67b9fbba66ad1a22fdcaaec Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Sat, 29 Jan 2022 00:10:20 -0600 Subject: [PATCH] Fixes linux build with glibc-2.32. * cpulimit.c: Guard inclusion of which is needed only for __APPLE__ and is deprecated and unavailable starting with glibc-2.32. --- src/cpulimit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Submitted upstream at https://github.com/opsengine/cpulimit/pull/105 diff --git a/src/cpulimit.c b/src/cpulimit.c index 50eabea..be8cf22 100644 --- a/src/cpulimit.c +++ b/src/cpulimit.c @@ -38,13 +38,13 @@ #include #include #include -#include #include #include #include #ifdef __APPLE__ || __FREEBSD__ #include +#include #endif #include "process_group.h" -- 2.34.0 customized Guix
aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2022-05-22services: openssh: Listen on both IPv4 and IPv6....Fixes <https://issues.guix.gnu.org/55335>. Reported by Christopher Baines <mail@cbaines.net>. * gnu/services/ssh.scm (openssh-shepherd-service)[inetd-style?]: New variable. <start>: Use it. When using 'make-inetd-constructor', pass a list of endpoints as is possible with the Shepherd 0.9.1. <stop>: Adjust accordingly. * gnu/tests/ssh.scm (run-ssh-test)["wait for port 22"]: Rename to... ["wait for port 22, IPv4"]: ... this. ["wait for port 22, IPv6"]: New test. Ludovic Courtès
2022-04-07services: openssh: Start as an inetd service....* gnu/services/ssh.scm (openssh-shepherd-service): Use 'make-inetd-constructor' when it is defined. (<openssh-configuration>)[max-connections]: New field. * gnu/tests/ssh.scm (run-ssh-test)["sshd PID"]: Adjust to cope with PID-FILE being #f. * gnu/tests/ssh.scm (%test-openssh): Pass #f as the 'pid-file' argument. * doc/guix.texi (Networking Services): Document 'max-connections'. Ludovic Courtès