mirror of
https://github.com/polyfractal/rustl8710.git
synced 2024-12-04 20:20:30 +00:00
Fix timeval redefinition
This commit is contained in:
parent
5afb0b17ba
commit
70187fa319
2 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
||||||
#define __CC_H__
|
#define __CC_H__
|
||||||
|
|
||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
|
#include <sys/time.h>
|
||||||
|
|
||||||
typedef unsigned char u8_t;
|
typedef unsigned char u8_t;
|
||||||
typedef signed char s8_t;
|
typedef signed char s8_t;
|
||||||
|
|
|
@ -306,7 +306,7 @@ typedef struct ip_mreq {
|
||||||
/** LWIP_TIMEVAL_PRIVATE: if you want to use the struct timeval provided
|
/** LWIP_TIMEVAL_PRIVATE: if you want to use the struct timeval provided
|
||||||
* by your system, set this to 0 and include <sys/time.h> in cc.h */
|
* by your system, set this to 0 and include <sys/time.h> in cc.h */
|
||||||
#ifndef LWIP_TIMEVAL_PRIVATE
|
#ifndef LWIP_TIMEVAL_PRIVATE
|
||||||
#define LWIP_TIMEVAL_PRIVATE 1
|
#define LWIP_TIMEVAL_PRIVATE 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if LWIP_TIMEVAL_PRIVATE
|
#if LWIP_TIMEVAL_PRIVATE
|
||||||
|
|
Loading…
Reference in a new issue