Header file improvements to enable compiling lwip
This commit is contained in:
parent
d1b8872a48
commit
78afc5e47d
@ -13,6 +13,20 @@
|
||||
#define ENOSYS 0x1BAD0009
|
||||
#define EAGAIN 0x1BAD000A
|
||||
#define EBUSY 0x1BAD000B
|
||||
#define EWOULDBLOCK 0x1BAD000C
|
||||
#define EALREADY 0x1BAD000D
|
||||
#define EINPROGRESS 0x1BAD000E
|
||||
#define ENFILE 0x1BAD000F
|
||||
|
||||
#define EAFNOSUPPORT 0x1BAD0020
|
||||
#define ENOPROTOOPT 0x1BAD0021
|
||||
#define EOPNOTSUPP 0x1BAD0022
|
||||
#define EHOSTUNREACH 0x1BAD0023
|
||||
#define ECONNABORTED 0x1BAD0024
|
||||
#define ECONNRESET 0x1BAD0025
|
||||
#define ENOTCONN 0x1BAD0026
|
||||
#define ENOBUFS 0x1BAD0027
|
||||
#define EADDRINUSE 0x1BAD0028
|
||||
|
||||
#endif /* __ERRNO_H__ */
|
||||
|
||||
|
8
include/limits.h
Normal file
8
include/limits.h
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
#ifndef __LIMITS_H__
|
||||
#define __LIMITS_H__
|
||||
|
||||
|
||||
|
||||
#endif /* __LIMITS_H__ */
|
||||
|
@ -6,6 +6,8 @@
|
||||
#define STDOUT_FILENO 1
|
||||
#define STDERR_FILENO 2
|
||||
|
||||
struct timeval;
|
||||
|
||||
int syscall(int number, ...);
|
||||
unsigned int sleep(unsigned int seconds);
|
||||
|
||||
|
8
sys/include/time.h
Normal file
8
sys/include/time.h
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
#ifndef __SYS_TIME_H__
|
||||
#define __SYS_TIME_H__
|
||||
|
||||
|
||||
|
||||
#endif /* __SYS_TIME_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user