fixed errno with errno.h

This commit is contained in:
Takashi Kojo
2015-10-09 09:49:38 +09:00
parent 7e1d0ccb11
commit 26ca093c76

View File

@ -64,15 +64,12 @@
#elif defined(WOLFSSL_MDK_ARM) || defined(WOLFSSL_KEIL_TCP_NET)
#if defined(WOLFSSL_MDK5) || defined(WOLFSSL_KEIL_TCP_NET)
#include "cmsis_os.h"
#include "rl_net.h"
#else
#include <rtl.h>
#endif
static int errno;
#include "errno.h"
#define SOCKET_T int
#include "rl_net.h"
/* for avoiding name conflict in "stm32f2xx.h" */
static int errno;
#elif defined(WOLFSSL_TIRTOS)
#include <sys/socket.h>
#elif defined(FREERTOS_TCP)