mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
d0cdd897c3
The sourceforge page of limitCPU says the following: > Update: Mr Marletta has re-launched his CPUlimit project, adding new > features and improving OS X support. The new project is a re-write > and should not be considered drop-in compatible with this > project. The source code of the new CPUlimit project can be found on > github. We here at the LimitCPU project will continue to work with > downstream projects and with the resurrected CPUlimit project so > that both projects may grow and improve.
13 lines
269 B
Diff
13 lines
269 B
Diff
diff --git a/src/process_group.c b/src/process_group.c
|
|
index 06d73a6..3ca66b0 100644
|
|
--- a/src/process_group.c
|
|
+++ b/src/process_group.c
|
|
@@ -20,6 +20,7 @@
|
|
*/
|
|
|
|
#include <string.h>
|
|
+#include <libgen.h>
|
|
#include <stdlib.h>
|
|
#include <limits.h>
|
|
#include <sys/time.h>
|