Unverified Commit 748fab98 authored by Ben Siraphob's avatar Ben Siraphob Committed by GitHub
Browse files

ecopcr: fix build (#406441)

parents e482a21f f8d28648
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
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"
+4 −0
Original line number Diff line number Diff line
@@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
    hash = "sha256-ssvWpi7HuuRRAkpqqrX3ijLuBqM3QsrmrG+t7/m6fZA=";
  };

  patches = [
    ./gcc14.patch
  ];

  buildInputs = [
    gcc
    python3