mirror of https://github.com/wolfSSL/wolfssh.git
commit
3ea6737740
|
@ -1099,6 +1099,7 @@ extern "C" {
|
||||||
#elif defined(FREESCALE_MQX)
|
#elif defined(FREESCALE_MQX)
|
||||||
/* MQX does not have FIONREAD, use SO_RCVNUM with getsockopt() instead */
|
/* MQX does not have FIONREAD, use SO_RCVNUM with getsockopt() instead */
|
||||||
#include <ioctl.h>
|
#include <ioctl.h>
|
||||||
|
#include <rtcs.h>
|
||||||
#define WFIONREAD SO_RCVNUM
|
#define WFIONREAD SO_RCVNUM
|
||||||
static inline void ws_Ioctl(int fd, int flag, int* ret)
|
static inline void ws_Ioctl(int fd, int flag, int* ret)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue