Commit f474b255 by Marek Polacek Committed by Marek Polacek

target-supports.exp (check_effective_target_fd_truncate): Include <string.h>.

	* lib/target-supports.exp (check_effective_target_fd_truncate):
	Include <string.h>.

From-SVN: r215981
parent bcc1d055
2014-10-07 Marek Polacek <polacek@redhat.com>
* lib/target-supports.exp (check_effective_target_fd_truncate):
Include <string.h>.
2014-10-07 Marek Polacek <polacek@redhat.com>
PR c/59717
* gcc.dg/pr59717.c: New test.
......
......@@ -5284,6 +5284,7 @@ proc check_effective_target_fd_truncate { } {
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main ()
{
FILE *f = fopen ("tst.tmp", "wb");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment