MQX Maintenance

1. Include header rtcs.h. It is missed if not using SCP.
pull/249/head
John Safranek 2020-03-03 11:45:35 -08:00
parent 86ee47bd33
commit 0e9317841d
No known key found for this signature in database
GPG Key ID: 8CE817DE0D3CCB4A
1 changed files with 1 additions and 0 deletions

View File

@ -1099,6 +1099,7 @@ extern "C" {
#elif defined(FREESCALE_MQX)
/* MQX does not have FIONREAD, use SO_RCVNUM with getsockopt() instead */
#include <ioctl.h>
#include <rtcs.h>
#define WFIONREAD SO_RCVNUM
static inline void ws_Ioctl(int fd, int flag, int* ret)
{