This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[committed] Fix compiling of two testcases on powerpc-darwin7.x


For Darwin pre 8 (Mac OS X 10.4, aka Tiger), sys/mman.h requires two extra headers
to be included to be used. This fixes the testcase by including stddef.h and stdio.h,
This fixes the testcase on powerpc-darwin7.x and should be safe on all other targets
which are enabled for this testcase as both of those are standard C includes.


Thanks,
Andrew Pinski

ChangeLog:

	* gcc.dg/20030711-1.c: Include stddef.h and stdio.h.
	* gcc.dg/20050826-1.c: Likewise.


Attachment: t.diff.txt
Description: Text document


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