diff options
author | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-07 18:14:56 +0000 |
---|---|---|
committer | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-07 18:14:56 +0000 |
commit | cc919d0c70f0cd94623589ef0b70f3039e7e8d47 (patch) | |
tree | fad24ceafd98222f52ede44bbe16b33a5be9efdd | |
parent | e3e59ca227c12eef019dfa53afe61c5a48b57d20 (diff) | |
download | gcc-cc919d0c70f0cd94623589ef0b70f3039e7e8d47.tar.gz |
* lib/target-supports.exp (check_effective_target_fd_truncate):
Include <string.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215981 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dfc9a8bf7cd..723412c20c3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 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. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 77e45cb5831..2144683f230 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -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"); |