depot/third_party/nixpkgs/pkgs/tools/misc/cpulimit/get-missing-basename.patch
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

12 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>