|
Lines 48-61
Link Here
|
| 48 |
#include <sys/inttypes.h> /* includes <machine/ansi.h> */ |
48 |
#include <sys/inttypes.h> /* includes <machine/ansi.h> */ |
| 49 |
#include <machine/types.h> |
49 |
#include <machine/types.h> |
| 50 |
|
50 |
|
| 51 |
#ifndef _POSIX_SOURCE |
|
|
| 52 |
typedef unsigned char u_char; |
51 |
typedef unsigned char u_char; |
| 53 |
typedef unsigned short u_short; |
52 |
typedef unsigned short u_short; |
| 54 |
typedef unsigned int u_int; |
53 |
typedef unsigned int u_int; |
| 55 |
typedef unsigned long u_long; |
54 |
typedef unsigned long u_long; |
| 56 |
typedef unsigned short ushort; /* Sys V compatibility */ |
55 |
typedef unsigned short ushort; /* Sys V compatibility */ |
| 57 |
typedef unsigned int uint; /* Sys V compatibility */ |
56 |
typedef unsigned int uint; /* Sys V compatibility */ |
| 58 |
#endif |
|
|
| 59 |
|
57 |
|
| 60 |
typedef __uint8_t u_int8_t; |
58 |
typedef __uint8_t u_int8_t; |
| 61 |
typedef __uint16_t u_int16_t; |
59 |
typedef __uint16_t u_int16_t; |