mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
Suffer the consequences of moving struct timeval to its correct location
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
@@ -387,6 +387,8 @@ long cc3000_connect_impl(long sd, FAR const struct sockaddr *addr, socklen_t add
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
struct timeval;
|
||||
|
||||
int cc3000_select_impl(long nfds, TICC3000fd_set *readfds, TICC3000fd_set *writefds,TICC3000fd_set *exceptfds,
|
||||
struct timeval *timeout);
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -39,11 +39,13 @@
|
||||
* Included Files
|
||||
*****************************************************************************/
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <debug.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <nuttx/wireless/cc3000/hci.h>
|
||||
#include "cc3000_socket.h"
|
||||
#include <nuttx/wireless/cc3000/evnt_handler.h>
|
||||
|
||||
Reference in New Issue
Block a user