Skip to content

Commit d6975bb

Browse files
authored
usbmuxd2: add a missing import of <algorithm> (#369039)
2 parents add1b1b + 7ab8b82 commit d6975bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/by-name/us/usbmuxd2/package.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ clangStdenv.mkDerivation rec {
5353
postPatch = ''
5454
# Checking for libgeneral version still fails
5555
sed -i 's/libgeneral >= $LIBGENERAL_MINVERS_STR/libgeneral/' configure.ac
56+
57+
# Otherwise, it will complain about no matching function for call to 'find'
58+
sed -i 1i'#include <algorithm>' usbmuxd2/Muxer.cpp
5659
'';
5760

5861
nativeBuildInputs = [

0 commit comments

Comments
 (0)