bootstrap: Include memmodel.h in btfout.c and ctfout.c before tm_p.h
This fixes a "use of enum 'memmodel' without previous declaration" error in sparc-protos.h. Minimally tested that this fixes the build-many-glibcs.py compilers build for sparc64-linux-gnu. * btfout.c, ctfout.c: Include "memmodel.h".
This commit is contained in:
parent
af9987e817
commit
7d510b2119
2 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ along with GCC; see the file COPYING3. If not see
|
|||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "target.h"
|
||||
#include "memmodel.h"
|
||||
#include "tm_p.h"
|
||||
#include "output.h"
|
||||
#include "dwarf2asm.h"
|
||||
|
|
|
@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see
|
|||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "target.h"
|
||||
#include "memmodel.h"
|
||||
#include "tm_p.h"
|
||||
#include "output.h"
|
||||
#include "dwarf2asm.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue