summaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 0cd58dba110..c0f08a99ed1 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -840,7 +840,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
#ifndef USES_ISL
#undef calloc
#undef strdup
- #pragma GCC poison calloc strdup
+#undef strndup
+ #pragma GCC poison calloc strdup strndup
#endif
#if !defined(FLEX_SCANNER) && !defined(YYBISON)