dog: fix build with gcc14

Adds include of time.h to fix implicit declaration error
This commit is contained in:
polygon
2025-03-27 21:41:02 +01:00
parent 783dfc7079
commit de5788a14f
+2 -1
View File
@@ -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 = ''