mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Update to use 64-bit timer when available
This commit is contained in:
+2
-1
@@ -47,6 +47,7 @@
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <nuttx/clock.h>
|
||||
#include <nuttx/net/net.h>
|
||||
|
||||
/****************************************************************************
|
||||
@@ -345,7 +346,7 @@ int net_close(int sockfd);
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_NET_SOCKOPTS
|
||||
int net_timeo(uint32_t start_time, socktimeo_t timeo);
|
||||
int net_timeo(systime_t start_time, socktimeo_t timeo);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user