In Mac OS X Lion, Apple deprecated the use of the system OpenSSL library

in favour of their CommonCrypto library.  This change adds a work-around
that allows nginx to still be built on Lion with OpenSSL.
This commit is contained in:
Ruslan Ermilov 2011-09-13 09:18:43 +00:00
parent f824fb47fe
commit 59efbc4bcb

View File

@ -8,6 +8,8 @@
#define _NGX_DARWIN_CONFIG_H_INCLUDED_
#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_0
#include <sys/types.h>
#include <sys/time.h>