summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/fix-header.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index 3d6c4dbc480..06fc0923733 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -382,7 +382,8 @@ write_rbrac ()
if (!strcmp (fn->fname, "memmove")
|| !strcmp (fn->fname, "vprintf")
|| !strcmp (fn->fname, "vfprintf")
- || !strcmp (fn->fname, "vsprintf"))
+ || !strcmp (fn->fname, "vsprintf")
+ || !strcmp (fn->fname, "rewinddir"))
macro_protect = 1;
if (macro_protect)
OpenPOWER on IntegriCloud