pcap: Add missing include, fix w/musl
This commit is contained in:
parent
b2e71e942d
commit
7bf70fe520
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace configure --replace " -arch i386" ""
|
||||
'' + ''
|
||||
sed -i '1i#include <limits.h>' pcap-usb-linux.c
|
||||
'';
|
||||
|
||||
preInstall = ''mkdir -p $out/bin'';
|
||||
|
|
Loading…
Reference in a new issue