mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Add HAVE_GETPID to options.h if getpid detected, needed for apps to correctly detect size of WC_RNG struct
This commit is contained in:
@@ -160,6 +160,9 @@ fi
|
|||||||
#ifdef HAVE_STDLIB_H
|
#ifdef HAVE_STDLIB_H
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
#ifdef HAVE_CTYPE_H
|
#ifdef HAVE_CTYPE_H
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -10469,6 +10472,12 @@ then
|
|||||||
AM_CFLAGS="$AM_CFLAGS -DHAVE___UINT128_T=1"
|
AM_CFLAGS="$AM_CFLAGS -DHAVE___UINT128_T=1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Add HAVE_GETPID to AM_CFLAGS for inclusion in options.h
|
||||||
|
if test "$ac_cv_func_getpid" = "yes"
|
||||||
|
then
|
||||||
|
AM_CFLAGS="$AM_CFLAGS -DHAVE_GETPID=1"
|
||||||
|
fi
|
||||||
|
|
||||||
LIB_SOCKET_NSL
|
LIB_SOCKET_NSL
|
||||||
AX_HARDEN_CC_COMPILER_FLAGS
|
AX_HARDEN_CC_COMPILER_FLAGS
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user