xtris: fix build by including time.h (#368589)
This commit is contained in:
@@ -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 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user