Merge pull request #1213 from signalwire/nsig

[apr] error: use of undeclared identifier 'NSIG'
This commit is contained in:
Andrey Volk 2021-06-09 22:25:53 +03:00 committed by GitHub
commit c985c90cbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@
#include "apr_pools.h"
#include "apr_errno.h"
#if !defined(_ANSI_SOURCE) && defined(_DARWIN_C_SOURCE)
#define NSIG __DARWIN_NSIG
#endif
#if APR_HAVE_SIGNAL_H
#include <signal.h>
#endif