mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
Check for raise and supply if needed.
This commit is contained in:
parent
a9004425a0
commit
6c8c9a615b
@ -1744,6 +1744,7 @@ AC_CHECK_FUNCS([ \
|
|||||||
poll \
|
poll \
|
||||||
prctl \
|
prctl \
|
||||||
pstat \
|
pstat \
|
||||||
|
raise \
|
||||||
readpassphrase \
|
readpassphrase \
|
||||||
reallocarray \
|
reallocarray \
|
||||||
recvmsg \
|
recvmsg \
|
||||||
|
@ -290,3 +290,11 @@ bzero(void *b, size_t n)
|
|||||||
(void)memset(b, 0, n);
|
(void)memset(b, 0, n);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_RAISE
|
||||||
|
int
|
||||||
|
raise(int sig)
|
||||||
|
{
|
||||||
|
kill(getpid(), sig);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
@ -137,4 +137,8 @@ long long llabs(long long);
|
|||||||
void bzero(void *, size_t);
|
void bzero(void *, size_t);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_RAISE
|
||||||
|
int raise(int);
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _BSD_MISC_H */
|
#endif /* _BSD_MISC_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user