summaryrefslogtreecommitdiff
path: root/sim/m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-01 16:30:59 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-01 16:37:39 -0400
commitfe3486178040db782f18d67a95a1e63bdf68eedf (patch)
tree1445ff740a5f797e32834a3df73c0b790fef1345 /sim/m4
parent2a83fd8f4806f8580d86057dc00bfdb5efcfa1f6 (diff)
sim: nrun: add local strsignal prototype
While libiberty provides a definition for this for systems that lack the function (e.g. Windows), it doesn't provide a prototype. So add our own local copy in the one file that uses the func.
Diffstat (limited to 'sim/m4')
-rw-r--r--sim/m4/sim_ac_common.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/m4/sim_ac_common.m4 b/sim/m4/sim_ac_common.m4
index 01825990be..35fcbfc419 100644
--- a/sim/m4/sim_ac_common.m4
+++ b/sim/m4/sim_ac_common.m4
@@ -60,6 +60,7 @@ AC_CHECK_FUNCS_ONCE(m4_flatten([
munmap
posix_fallocate
sigaction
+ strsignal
time
truncate
]))