From 93689493b376c4e5616c1679733619f96202c369 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Mon, 19 Sep 2016 00:30:30 +0100 Subject: 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 . --- gdb/s390-linux-nat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/s390-linux-nat.c') diff --git a/gdb/s390-linux-nat.c b/gdb/s390-linux-nat.c index 687502c..9abb5c2 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. */ -- cgit v1.1