summaryrefslogtreecommitdiff
path: root/gcc/prefix.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/prefix.c')
-rw-r--r--gcc/prefix.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c
index bf501c74391..09f4f193c4e 100644
--- a/gcc/prefix.c
+++ b/gcc/prefix.c
@@ -71,6 +71,18 @@ Boston, MA 02111-1307, USA. */
#include <varargs.h>
#endif
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
+
#ifdef _WIN32
#include <windows.h>
#endif