diff --git a/srcpkgs/pwnat/template b/srcpkgs/pwnat/template index d27a40ca188..10e51e613f5 100644 --- a/srcpkgs/pwnat/template +++ b/srcpkgs/pwnat/template @@ -13,6 +13,10 @@ checksum=365da981ba1a39d7e3c8427fbcd9e7fcd3dd16cd30ae7e3b0aca50511fd8e1b1 wrksrc="${pkgname}-${_githash}" build_style=gnu-makefile +do_configure() { + sed -i 's#sys/unistd.h#unistd.h#' $(find -name '*.[ch]') +} + do_install() { vbin pwnat }