mirror of
https://github.com/fluencelabs/musl
synced 2025-07-30 22:01:57 +00:00
add some ugly legacy type names in sys/types.h (u_char etc.)
This commit is contained in:
@@ -59,6 +59,14 @@ extern "C" {
|
||||
|
||||
#ifdef _GNU_SOURCE
|
||||
typedef unsigned long caddr_t;
|
||||
typedef unsigned char u_char;
|
||||
typedef unsigned short u_short, ushort;
|
||||
typedef unsigned u_int, uint;
|
||||
typedef unsigned long u_long, ulong;
|
||||
typedef long long quad_t;
|
||||
typedef unsigned long long u_quad_t;
|
||||
#include <endian.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/sysmacros.h>
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user