From: Tom Tromey Date: Tue, 27 Mar 2018 14:55:13 +0000 (-0600) Subject: Include in dwarf-index-write.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=608219fb2917d407058952adf164eb616880662b;p=binutils-gdb.git Include in dwarf-index-write.c On x86-64 Fedora 26, when building with the system gcc, I get: ../../binutils-gdb/gdb/dwarf-index-write.c: In member function ‘void debug_names::build()’: ../../binutils-gdb/gdb/dwarf-index-write.c:705:13: error: ‘pow’ is not a member of ‘std’ There are actually more messages, but this is sufficient to show the problem. The fix is to include . I'm checking this in as obvious. Tested by building. gdb/ChangeLog 2018-03-27 Tom Tromey * dwarf-index-write.c: Include . --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 79c981de219..8cbb7259b2e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-03-27 Tom Tromey + + * dwarf-index-write.c: Include . + 2018-03-27 Joel Brobecker * NEWS: Add entry describing new "set|show varsize-limit" command. diff --git a/gdb/dwarf-index-write.c b/gdb/dwarf-index-write.c index 3059e0b776a..058712d9e22 100644 --- a/gdb/dwarf-index-write.c +++ b/gdb/dwarf-index-write.c @@ -34,6 +34,7 @@ #include "psympriv.h" #include +#include #include #include #include