mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-08 20:28:30 +00:00
Make more compatibility improvements
This commit is contained in:
parent
12d9e1e128
commit
55c6297e13
63 changed files with 513 additions and 80 deletions
4
libc/isystem/byteswap.h
Normal file
4
libc/isystem/byteswap.h
Normal file
|
@ -0,0 +1,4 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_BYTESWAP_H_
|
||||
#define COSMOPOLITAN_LIBC_ISYSTEM_BYTESWAP_H_
|
||||
#include "libc/intrin/bswap.h"
|
||||
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_BYTESWAP_H_ */
|
4
libc/isystem/linux/xattr.h
Normal file
4
libc/isystem/linux/xattr.h
Normal file
|
@ -0,0 +1,4 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_XATTR_H_
|
||||
#define COSMOPOLITAN_LIBC_ISYSTEM_SYS_XATTR_H_
|
||||
#include "libc/calls/xattr.h"
|
||||
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_XATTR_H_ */
|
|
@ -1,4 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_LOCALE_H_
|
||||
#define COSMOPOLITAN_LIBC_ISYSTEM_LOCALE_H_
|
||||
#include "libc/str/locale.h"
|
||||
#include "libc/str/unicode.h"
|
||||
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_LOCALE_H_ */
|
||||
|
|
7
libc/isystem/net/if.h
Normal file
7
libc/isystem/net/if.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_NET_IF_H_
|
||||
#define COSMOPOLITAN_LIBC_ISYSTEM_NET_IF_H_
|
||||
#include "libc/sock/if.h"
|
||||
#include "libc/sock/struct/ifconf.h"
|
||||
#include "libc/sock/struct/ifreq.h"
|
||||
#include "libc/sysv/consts/iff.h"
|
||||
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_NET_IF_H_ */
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef LIBC_ISYSTEM_SCHED_H_
|
||||
#define LIBC_ISYSTEM_SCHED_H_
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/calls/struct/cpuset.h"
|
||||
#include "libc/calls/struct/sched_param.h"
|
||||
#include "libc/sysv/consts/sched.h"
|
||||
#endif
|
||||
|
|
6
libc/isystem/sys/event.h
Normal file
6
libc/isystem/sys/event.h
Normal file
|
@ -0,0 +1,6 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_EVENT_H_
|
||||
#define COSMOPOLITAN_LIBC_ISYSTEM_SYS_EVENT_H_
|
||||
|
||||
/* eventfd() is meh */
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_EVENT_H_ */
|
|
@ -3,6 +3,7 @@
|
|||
#include "libc/calls/calls.h"
|
||||
#include "libc/calls/struct/stat.h"
|
||||
#include "libc/calls/struct/stat.macros.h"
|
||||
#include "libc/calls/struct/timespec.h"
|
||||
#include "libc/calls/weirdtypes.h"
|
||||
#include "libc/sysv/consts/s.h"
|
||||
#include "libc/sysv/consts/utime.h"
|
||||
|
|
4
libc/isystem/sys/statfs.h
Normal file
4
libc/isystem/sys/statfs.h
Normal file
|
@ -0,0 +1,4 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_STATFS_H_
|
||||
#define COSMOPOLITAN_LIBC_ISYSTEM_SYS_STATFS_H_
|
||||
#include "libc/calls/struct/statfs.h"
|
||||
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_STATFS_H_ */
|
|
@ -1,4 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_STATVFS_H_
|
||||
#define COSMOPOLITAN_LIBC_ISYSTEM_STATVFS_H_
|
||||
#include "libc/calls/struct/statvfs.h"
|
||||
#include "libc/sysv/consts/st.h"
|
||||
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_STATVFS_H_ */
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_TERMIOS_H_
|
||||
#define COSMOPOLITAN_LIBC_ISYSTEM_TERMIOS_H_
|
||||
#include "libc/calls/termios.h"
|
||||
#include "libc/sysv/consts/baud.h"
|
||||
#include "libc/sysv/consts/termios.h"
|
||||
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_TERMIOS_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue