diff --git a/gdb/gmp-utils.c b/gdb/gmp-utils.c index b9c9b495398d3c26555d19332ee3f11ec578c137..8150fa5dcdf7ac76810afac5189f671a49883762 100644 --- a/gdb/gmp-utils.c +++ b/gdb/gmp-utils.c @@ -15,6 +15,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "defs.h" #include "gmp-utils.h" /* See gmp-utils.h. */ diff --git a/gdb/gmp-utils.h b/gdb/gmp-utils.h index 9aa501ac8c6c9fb9e0c96e87caa1fe2c6d76d5c6..3f30b575f72d56baf31aa929a1443c0659282174 100644 --- a/gdb/gmp-utils.h +++ b/gdb/gmp-utils.h @@ -20,8 +20,6 @@ #ifndef GMP_UTILS_H #define GMP_UTILS_H -#include "defs.h" - /* Include <stdio.h> and <stdarg.h> ahead of <gmp.h>, so as to get access to GMP's various formatting functions. */ #include <stdio.h> diff --git a/gdb/unittests/gmp-utils-selftests.c b/gdb/unittests/gmp-utils-selftests.c index cc525a13fc0a93cf34b5bcb1ed9c728a3d22f362..e2ccd2ca094b3cdd4af3eaa16bbb754b861b193b 100644 --- a/gdb/unittests/gmp-utils-selftests.c +++ b/gdb/unittests/gmp-utils-selftests.c @@ -17,6 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "defs.h" #include "gmp-utils.h" #include "gdbsupport/selftest.h"