PPP, added define for u_long, u_int, u_short, u_char for compilers or toolchains which don't have them

This commit is contained in:
Sylvain Rochet 2013-04-22 21:16:02 +02:00
parent d03d2e6d3d
commit bd3ade31fa

View File

@ -47,6 +47,14 @@
#include "lwip/timers.h"
#include "lwip/sio.h"
/* Type definitions for BSD code. */
#ifndef __u_char_defined
typedef unsigned long u_long;
typedef unsigned int u_int;
typedef unsigned short u_short;
typedef unsigned char u_char;
#endif
#include "ppp.h"
#include "pppdebug.h"