mirror of https://github.com/wolfSSL/wolfssh.git
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
parent
b87f0f5e2a
commit
3feaad95af
|
@ -60,6 +60,9 @@
|
|||
#ifdef WIN32
|
||||
#include <process.h>
|
||||
#endif
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
struct WOLFSSHD_CONFIG {
|
||||
void* heap;
|
||||
|
|
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in New Issue