aboutsummaryrefslogtreecommitdiff
path: root/sim/common/nrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/nrun.c')
-rw-r--r--sim/common/nrun.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/nrun.c b/sim/common/nrun.c
index 0caa820..1ceb083 100644
--- a/sim/common/nrun.c
+++ b/sim/common/nrun.c
@@ -28,6 +28,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "bfd.h"
+#ifndef HAVE_STRSIGNAL
+/* While libiberty provides a fallback, it doesn't provide a prototype. */
+extern const char *strsignal (int);
+#endif
+
#ifdef HAVE_ENVIRON
extern char **environ;
#endif