mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 17:39:34 +00:00
Adding missing unistd.h includes
This commit is contained in:
parent
559f5be07d
commit
e4c64d1e17
|
@ -10,6 +10,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ SDL mesa SDL_image freealut openal libvorbis pkgconfig ];
|
buildInputs = [ SDL mesa SDL_image freealut openal libvorbis pkgconfig ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -e '1i#include <unistd.h>' -i $(find . -name '*.c' -o -name '*.cpp')
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.ultimatestunts.nl/;
|
homepage = http://www.ultimatestunts.nl/;
|
||||||
description = "Remake of the popular racing DOS-game Stunts";
|
description = "Remake of the popular racing DOS-game Stunts";
|
||||||
|
|
Loading…
Reference in a new issue