This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA] Missing #include in objfiles.h?


I'm not sure if this is intended or not, but objfiles.h relies on
symfile.h for the definition of certain structures. However, objfiles
does not #include symfile. So my attempt to include objfiles without
prior including symfile caused a compilation error. 

This patch adds the #include, assuming this was not intentional. Tested
by "./configure; make".

2002-08-01  Joel Brobecker  <brobecker@gnat.com>

        * objfiles.h: Add missing #include "symfile.h"
        
        * Makefile.in (objfiles_h): Add dependency on symfile.h and dependents.

Ok to apply?

Thanks,
-- 
Joel

Attachment: objfiles.h.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]