sim m32c: Include defs.h in m32c.opc and r8c.opc.

gnulib can override stdio.h and/or stdlib.h in which case the gnulib
headers require config.h to be included first.

gdb/sim/m32c/ChangeLog:

	* m32c.opc: Include defs.h.
	* r8c.opc: Likewise.
This commit is contained in:
John Baldwin 2021-06-02 08:48:09 -07:00
parent 170960e8e1
commit ea6197bf5f
3 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2021-06-02 John Baldwin <jhb@FreeBSD.org>
* m32c.opc: Include defs.h.
* r8c.opc: Likewise.
2021-05-28 Mike Frysinger <vapier@gentoo.org>
* gdb-if.c (open): Rename to ...

View file

@ -18,6 +18,8 @@ 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 <http://www.gnu.org/licenses/>. */
/* This must come before any other includes. */
#include "defs.h"
#include <stdio.h>
#include <stdlib.h>

View file

@ -18,6 +18,8 @@ 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 <http://www.gnu.org/licenses/>. */
/* This must come before any other includes. */
#include "defs.h"
#include <stdio.h>
#include <stdlib.h>