]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/nrun.c
sim: nrun: add local strsignal prototype
[thirdparty/binutils-gdb.git] / sim / common / nrun.c
index 0caa82062a240fa3609d7b221463ec9e07bbb5a5..1ceb0837e2c21aa081043bf62cc3f53aae235bd5 100644 (file)
@@ -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