From: Pedro Alves Date: Sun, 18 Sep 2016 23:30:30 +0000 (+0100) Subject: gdb/s390: Fix build breakage due to std::min/std::max usage without header X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93689493b376c4e5616c1679733619f96202c369;p=binutils-gdb.git gdb/s390: Fix build breakage due to std::min/std::max usage without header [...] .../gdb/s390-linux-nat.c: In function 'void s390_prepare_to_resume(lwp_info*)': .../gdb/s390-linux-nat.c:703:20: error: 'min' is not a member of 'std' watch_lo_addr = std::min (watch_lo_addr, area->lo_addr); [...] gdb/ChangeLog: 2016-09-18 Pedro Alves * s390-linux-nat.c: Include . --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f86e0a43b98..830d5de3751 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2016-09-18 Pedro Alves + + * s390-linux-nat.c: Include . + 2016-09-18 Pedro Alves * breakpoint.c (hardware_watchpoint_inserted_in_range): Explicitly diff --git a/gdb/s390-linux-nat.c b/gdb/s390-linux-nat.c index 687502c87c0..9abb5c23471 100644 --- a/gdb/s390-linux-nat.c +++ b/gdb/s390-linux-nat.c @@ -39,6 +39,7 @@ #include #include #include +#include /* Per-thread arch-specific data. */