@@ -13,11 +13,8 @@
#include <rtthread.h>
#ifdef RT_USING_POSIX
-#if defined(RT_USING_MLIB)
-#include <time.h>
-#else
#include <sys/time.h> /* for struct timeval */
-#endif
+
#if !defined(POLLIN) && !defined(POLLOUT)
#define POLLIN (0x01)
#define POLLRDNORM (0x01)
@@ -10,8 +10,6 @@
*/
-//#include <pthread.h>
-
#include "clock_time.h"
static struct timeval _timevalue;
@@ -36,9 +36,8 @@
#include "lwp_arch.h"
#endif
#include <locale.h>
#ifdef __cplusplus
extern "C" {
@@ -15,11 +15,7 @@
#include <dfs_posix.h>
#include <dfs_poll.h>
#include <sys/time.h>
#include <sys/types.h>
@@ -46,11 +46,7 @@
#define X32_F "lx"
#if defined(RT_USING_LIBC) || defined(RT_USING_MINILIBC) || defined(RT_LIBC_USING_TIME) || (defined( __GNUC__ ) && !defined(__ARMCC_VERSION))
#define LWIP_TIMEVAL_PRIVATE 0
#else
@@ -11,11 +11,7 @@
#include <rthw.h>
#include <sal_socket.h>
#include <sal_netdb.h>
#ifdef SAL_USING_TLS