diff --git a/configure.ac b/configure.ac index 3c1ed58..60af17e 100755 --- a/configure.ac +++ b/configure.ac @@ -77,7 +77,9 @@ AC_CHECK_FUNCS( \ malloc \ memset \ memcpy \ + mmap \ perror \ + posix_memalign \ setrlimit \ strnlen \ strnstr \ diff --git a/include/pcp/config.h.in b/include/pcp/config.h.in index e0196ac..3aaf7a8 100644 --- a/include/pcp/config.h.in +++ b/include/pcp/config.h.in @@ -82,6 +82,9 @@ /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET +/* Define to 1 if you have the `mmap' function. */ +#undef HAVE_MMAP + /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IN_H diff --git a/libpcp/scrypt/crypto/scrypt_platform.h b/libpcp/scrypt/crypto/scrypt_platform.h index e69de29..75bd98f 100644 --- a/libpcp/scrypt/crypto/scrypt_platform.h +++ b/libpcp/scrypt/crypto/scrypt_platform.h @@ -0,0 +1,6 @@ +#ifndef _SCRYPT_PLATFORM_H_ +#define _SCRYPT_PLATFORM_H_ + +#include "platform.h" + +#endif /* !_SCRYPT_PLATFORM_H_ */