FIONREAD macro namespace clash resolved for IOCTL and SOCKETS
There is macro with the same name but different content within two basic
OS headers - sockets.h and ioctl.h. It can be fixed with including ioctl.h
into sockets.h so the same macro will be used everywhere.
#include <stddef.h> /* for size_t */
#include <string.h> /* for memset used by FD_ZERO */
#include <fcntl.h>
+#include <tinyara/fs/ioctl.h>
#if LWIP_TIMEVAL_PRIVATE
#include <time.h>
#endif
