mirror of
https://github.com/polyfractal/rustl8710.git
synced 2024-12-04 20:20:30 +00:00
Merge pull request #1 from richchurcher/fix-timeval
Fix timeval redefinition
This commit is contained in:
commit
a83d26d251
2 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
|||
#define __CC_H__
|
||||
|
||||
#include "cpu.h"
|
||||
#include <sys/time.h>
|
||||
|
||||
typedef unsigned char u8_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
|
||||
* by your system, set this to 0 and include <sys/time.h> in cc.h */
|
||||
#ifndef LWIP_TIMEVAL_PRIVATE
|
||||
#define LWIP_TIMEVAL_PRIVATE 1
|
||||
#define LWIP_TIMEVAL_PRIVATE 0
|
||||
#endif
|
||||
|
||||
#if LWIP_TIMEVAL_PRIVATE
|
||||
|
|
Loading…
Reference in a new issue