Merge pull request #249 from ejohnstown/maint-mqx

MQX Maintenance
pull/250/head
Chris Conlon 2020-03-03 13:08:30 -07:00 committed by GitHub
commit 3ea6737740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
{