]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/nrun.c
[PATCH] sim: make sure to include strsignal prototype
[thirdparty/binutils-gdb.git] / sim / common / nrun.c
index a50ae06aeccba1ff7babc13b7fb84dba72a8cb06..8e9287982781a69c7db82e881edace9f0a56737b 100644 (file)
@@ -15,6 +15,16 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include <signal.h>
+
+/* For strsignal.  */
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
+
 #include "sim-main.h"
 
 #include "bfd.h"