diff --git a/pkgs/development/libraries/libpcap/default.nix b/pkgs/development/libraries/libpcap/default.nix index 62b8126dbc79..a12fae7082a8 100644 --- a/pkgs/development/libraries/libpcap/default.nix +++ b/pkgs/development/libraries/libpcap/default.nix @@ -25,6 +25,8 @@ stdenv.mkDerivation rec { prePatch = stdenv.lib.optionalString stdenv.isDarwin '' substituteInPlace configure --replace " -arch i386" "" + '' + '' + sed -i '1i#include ' pcap-usb-linux.c ''; preInstall = ''mkdir -p $out/bin'';