xtris: fix build by including time.h (#368589)

This commit is contained in:
ajs124
2025-01-08 19:28:48 +01:00
committed by GitHub
+3
View File
@@ -20,6 +20,9 @@ stdenv.mkDerivation rec {
s:mkdir:mkdir -p:g
s:^CFLAGS:#CFLAGS:
' Makefile
sed -i '28i#include <time.h>' xtserv.c
sed -i '35i#include <time.h>' xtbot.c
'';
buildInputs = [ xorg.libX11 ];