Skip to content

Commit 549dcc1

Browse files
committed
Fix for WC_RNG change to add pid_t. Add detection of HAVE_GETPID.
1 parent b087808 commit 549dcc1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ include(CheckFunctionExists)
6767
check_function_exists("gethostbyname" HAVE_GETHOSTBYNAME)
6868
check_function_exists("getaddrinfo" HAVE_GETADDRINFO)
6969
check_function_exists("gettimeofday" HAVE_GETTIMEOFDAY)
70+
check_function_exists("getpid" HAVE_GETPID)
7071

7172

7273

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ AC_CHECK_SIZEOF([long], 4)
6060

6161
# Check headers/libs
6262
AC_CHECK_HEADERS([netdb.h])
63-
AC_CHECK_FUNCS([gethostbyname getaddrinfo gettimeofday inet_ntoa memset socket])
63+
AC_CHECK_FUNCS([gethostbyname getaddrinfo gettimeofday inet_ntoa memset socket getpid])
6464
AC_CHECK_LIB([network],[socket])
6565

6666
# Thread local storage

0 commit comments

Comments
 (0)