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
This commit is contained in:
parent
bcc1d055c6
commit
f474b2553b
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue