Files
nixpkgs/pkgs/by-name/ec/ecopcr/gcc14.patch
Dionysis Grigoropoulos f8d286480d ecopcr: fix build
Apply patch to make compilation work on GCC 14
2025-05-12 15:56:46 +03:00

13 lines
242 B
Diff

diff --git a/src/ecogrep.c b/src/ecogrep.c
index 8d45312..d9fe676 100644
--- a/src/ecogrep.c
+++ b/src/ecogrep.c
@@ -5,6 +5,7 @@
#include <getopt.h>
#include <stdlib.h>
#include <sys/stat.h>
+#include <unistd.h>
#define VERSION "0.1"