Release v1.4.15: Release Testing Fixes

1. Add a check for limits.h to configure.ac.
2. In wolfSSHd's configuration.c file, add an include of limits.h if
   available. It is including the header indirectly while using it
   directly.
pull/635/head
John Safranek 2023-12-22 11:05:15 -08:00
parent b87f0f5e2a
commit 3feaad95af
No known key found for this signature in database
GPG Key ID: 8CE817DE0D3CCB4A
2 changed files with 4 additions and 1 deletions

View File

@ -60,6 +60,9 @@
#ifdef WIN32
#include <process.h>
#endif
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
struct WOLFSSHD_CONFIG {
void* heap;

View File

@ -55,7 +55,7 @@ AC_TYPE_UINT8_T
AC_TYPE_UINTPTR_T
# Check headers/libs
AC_CHECK_HEADERS([sys/select.h sys/time.h sys/ioctl.h pty.h util.h termios.h])
AC_CHECK_HEADERS([limits.h sys/select.h sys/time.h sys/ioctl.h pty.h util.h termios.h])
AC_CHECK_LIB([network],[socket])
AC_CHECK_LIB([util],[forkpty])