void-packages/srcpkgs/cpulimit/patches/define_gnu_source.patch

11 lines
211 B
Diff

--- a/src/cpulimit.c 2015-06-17 08:46:59.000000000 +0200
+++ - 2024-03-13 16:03:55.061935534 +0100
@@ -27,6 +27,7 @@
*
*/
+#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>