Commit de5788a1 authored by polygon's avatar polygon
Browse files

dog: fix build with gcc14

Adds include of time.h to fix implicit declaration error
parent 783dfc70
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -15,7 +15,8 @@ stdenv.mkDerivation rec {

  postPatch = ''
    substituteInPlace Makefile \
      --replace "gcc" "$CC"
      --replace-fail "gcc" "$CC"
    sed -i '40i #include <time.h>' dog.c
  '';

  installPhase = ''