summaryrefslogtreecommitdiffstats
path: root/gcc/tlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r--gcc/tlink.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/tlink.c b/gcc/tlink.c
index eb3d878ec51..5c04ddcaf4f 100644
--- a/gcc/tlink.c
+++ b/gcc/tlink.c
@@ -26,6 +26,22 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "hash.h"
#include "demangle.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
+
#define MAX_ITERATIONS 17
/* Obstack allocation and deallocation routines. */
OpenPOWER on IntegriCloud