Needs some kind of std:: namespace import to find _throw_out_of_range symbol

This commit is contained in:
Daniel Patterson 2017-10-02 12:58:09 -07:00
parent 65385b55e9
commit 6b8ae24df6
No known key found for this signature in database
GPG Key ID: 19C12BE1725A028B

View File

@ -1,6 +1,8 @@
#ifndef GLIBC_WORKAROUND_H #ifndef GLIBC_WORKAROUND_H
#define GLIBC_WORKAROUND_H #define GLIBC_WORKAROUND_H
#include <stdexcept>
// https://github.com/bitcoin/bitcoin/pull/4042 // https://github.com/bitcoin/bitcoin/pull/4042
// allows building against libstdc++-dev-4.9 while avoiding // allows building against libstdc++-dev-4.9 while avoiding
// GLIBCXX_3.4.20 dep // GLIBCXX_3.4.20 dep