aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/tst-unique3.cc2
-rw-r--r--elf/tst-unique3lib.cc2
-rw-r--r--elf/tst-unique3lib2.cc2
-rw-r--r--elf/tst-unique4.cc2
4 files changed, 8 insertions, 0 deletions
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index b2c9593..ec1e814 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,4 +1,6 @@
#include "tst-unique3.h"
+extern char *gets (char *);
+
#include <cstdio>
#include "../dlfcn/dlfcn.h"
diff --git a/elf/tst-unique3lib.cc b/elf/tst-unique3lib.cc
index fa8e85a..5429dc5 100644
--- a/elf/tst-unique3lib.cc
+++ b/elf/tst-unique3lib.cc
@@ -1,3 +1,5 @@
+extern char *gets (char *);
+
#include <cstdio>
#include "tst-unique3.h"
template<typename T> int S<T>::i = 1;
diff --git a/elf/tst-unique3lib2.cc b/elf/tst-unique3lib2.cc
index 17d817e..76dadca 100644
--- a/elf/tst-unique3lib2.cc
+++ b/elf/tst-unique3lib2.cc
@@ -1,3 +1,5 @@
+extern char *gets (char *);
+
#include <cstdio>
#include "tst-unique3.h"
diff --git a/elf/tst-unique4.cc b/elf/tst-unique4.cc
index 9eaa909..e38ae83 100644
--- a/elf/tst-unique4.cc
+++ b/elf/tst-unique4.cc
@@ -1,5 +1,7 @@
// BZ 12511
#include "tst-unique4.h"
+extern char *gets (char *);
+
#include <cstdio>
static int a[24] =