Adding missing unistd.h includes

This commit is contained in:
Michael Raskin 2014-02-02 15:03:22 +04:00
parent 559f5be07d
commit e4c64d1e17

View File

@ -10,6 +10,10 @@ stdenv.mkDerivation rec {
buildInputs = [ SDL mesa SDL_image freealut openal libvorbis pkgconfig ];
postPatch = ''
sed -e '1i#include <unistd.h>' -i $(find . -name '*.c' -o -name '*.cpp')
'';
meta = {
homepage = http://www.ultimatestunts.nl/;
description = "Remake of the popular racing DOS-game Stunts";