[apr] error: use of undeclared identifier 'NSIG'

This commit is contained in:
Andrey Volk 2021-05-28 21:26:56 +03:00
parent 7f86d25c6c
commit 189f6f8db2
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