X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=sim%2Ffrv%2Foptions.c;h=3528c357c68035ce804151da7ef92d5f4ece769c;hb=ff68b4b5b158883ba8954db2876cd026c47b8443;hp=e464f18cd56e651867630e2ccc72d38182d3b9ad;hpb=e4d013fc0f3df3200be2dca48ed2e330e8a4ddf9;p=binutils-gdb.git diff --git a/sim/frv/options.c b/sim/frv/options.c index e464f18cd56..3528c357c68 100644 --- a/sim/frv/options.c +++ b/sim/frv/options.c @@ -1,5 +1,5 @@ /* FRV simulator memory option handling. - Copyright (C) 1999, 2000, 2007, 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 1999-2021 Free Software Foundation, Inc. Contributed by Red Hat. This file is part of GDB, the GNU debugger. @@ -17,6 +17,9 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ +/* This must come before any other includes. */ +#include "defs.h" + #define WANT_CPU frvbf #define WANT_CPU_FRVBF @@ -24,16 +27,8 @@ along with this program. If not, see . */ #include "sim-assert.h" #include "sim-options.h" -#ifdef HAVE_STRING_H #include -#else -#ifdef HAVE_STRINGS_H -#include -#endif -#endif -#ifdef HAVE_STDLIB_H #include -#endif /* FRV specific command line options. */