Add support for getpagesize

This commit is contained in:
kinichiro
2017-03-15 21:02:22 +09:00
parent 8877e9bc55
commit c61c9821e8
6 changed files with 33 additions and 1 deletions

View File

@@ -681,6 +681,10 @@ if(NOT HAVE_ASPRINTF)
set(EXTRA_EXPORT ${EXTRA_EXPORT} vasprintf)
endif()
if(NOT HAVE_GETPAGESIZE)
set(CRYPTO_SRC ${CRYPTO_SRC} compat/getpagesize.c)
endif()
if(NOT HAVE_INET_PTON)
set(CRYPTO_SRC ${CRYPTO_SRC} compat/inet_pton.c)
set(EXTRA_EXPORT ${EXTRA_EXPORT} inet_pton)