Skip to content

Commit

Permalink
dnsmasq: fixup build after kernel header changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Feb 19, 2020
1 parent ee65cd9 commit 482642a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/tools/networking/dnsmasq/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ stdenv.mkDerivation rec {
sha256 = "1hnixij3jp1p6zc3bx2dr92yyf9jp1ahhl9hiiq7bkbhbrw6mbic";
})
];
postPatch = ''
sed '1i#include <linux/sockios.h>' -i src/dhcp.c
'';

preBuild = ''
makeFlagsArray=("COPTS=${copts}")
Expand Down

0 comments on commit 482642a

Please sign in to comment.